Commit 0f51608d authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Clarify error message

parent 3615be80
......@@ -449,17 +449,17 @@ static void on_sigterm(int){
static void on_sigint(int){
if (blc_status==BLC_QUIT){
fprintf(stderr, "\nReceiving SIGINT (Ctrl+C) in quiting mode. Force to quit.\n");
fprintf(stderr, "\n\nReceiving SIGINT (Ctrl+C) in quiting mode. Force to quit.\n\n\n");
exit(EXIT_FAILURE);
}
else {
fprintf(stderr, "\nReceiving SIGINT (Ctrl+C). Try to quit. Resend SIGINT if it does not quit.\n");
fprintf(stderr, "\nReceiving SIGINT (Ctrl+C). Try to quit. Resend SIGINT if it does not quit.\n\n");
blc_status=BLC_QUIT;
}
}
static void on_sigsegv(int){
fprintf(stderr, "\nSegmentation fault ( memory access error ! )\n");
fprintf(stderr, "\n\nSegmentation fault ( memory access error ! )\n\n\n");
exit(EXIT_FAILURE);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment