cli: ensure EOL is added at every error message

This commit is contained in:
Aleksander Morgado
2012-03-15 14:15:01 +01:00
parent 470d9b933e
commit d528a2211b
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ signals_handler (int signum)
/* Ignore consecutive requests of cancellation */
if (!g_cancellable_is_cancelled (cancellable)) {
g_printerr ("%s\n",
"cancelling the operation...");
"cancelling the operation...\n");
g_cancellable_cancel (cancellable);
}
return;
@@ -78,7 +78,7 @@ signals_handler (int signum)
if (loop &&
g_main_loop_is_running (loop)) {
g_printerr ("%s\n",
"cancelling the main loop...");
"cancelling the main loop...\n");
g_main_loop_quit (loop);
}
}