Set alarm timer for grace period from the grace_period variable, instead
of hard-coding a value of 10 seconds. Command line flag -g is thus now correctly taken into account. PR: bin/102176 MFC after: 1 week
This commit is contained in:
parent
42953da8a7
commit
35a64c9f6f
@ -203,7 +203,7 @@ main(argc, argv)
|
||||
exit(1);
|
||||
}
|
||||
grace_expired = 0;
|
||||
alarm(10);
|
||||
alarm(grace_period);
|
||||
|
||||
init_nsm();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user