mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161552
@ -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