Changed termination message
This commit is contained in:
@ -138,8 +138,12 @@ void terminate() {
|
|||||||
signal(SIGINT, SIG_IGN);
|
signal(SIGINT, SIG_IGN);
|
||||||
signal(SIGTERM, SIG_IGN);
|
signal(SIGTERM, SIG_IGN);
|
||||||
|
|
||||||
|
if (wait_num > 0) {
|
||||||
sleep(1);
|
sleep(1);
|
||||||
fprintf(stderr, "\nGoodbye\n");
|
fprintf(stderr, "\nGoodbye\n");
|
||||||
|
} else {
|
||||||
|
fprintf(stderr, "Goodbye\n");
|
||||||
|
}
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user