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
ae7c9ee9d8
commit
7b372bea7e
@ -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