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:
Thomas Quinot 2006-08-23 15:59:43 +00:00
parent 42953da8a7
commit 35a64c9f6f

View File

@ -203,7 +203,7 @@ main(argc, argv)
exit(1);
}
grace_expired = 0;
alarm(10);
alarm(grace_period);
init_nsm();