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 2006-08-23 15:59:43 +00:00
parent ae7c9ee9d8
commit 7b372bea7e

View File

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