mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Fix one warning - still not warns clean.
This commit is contained in:
parent
47e68d542a
commit
0050672a16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87300
@ -219,7 +219,7 @@ main(argc, argv)
|
||||
ru.ru_nivcsw, "involuntary context switches");
|
||||
}
|
||||
if (exitonsig) {
|
||||
if (signal(exitonsig, SIG_DFL) < 0)
|
||||
if (signal(exitonsig, SIG_DFL) == SIG_ERR)
|
||||
perror("signal");
|
||||
else
|
||||
kill(getpid(), exitonsig);
|
||||
|
Loading…
Reference in New Issue
Block a user