summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/worker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index 497a8c4..75eb779 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -207,6 +207,9 @@ static void watch_child( GPid pid, gint status, gpointer *data )
if( error != NULL ) {
exit_message = error->message;
}
+ if( status == 0 ) {
+ exit_message = "<success>";
+ }
}
printf( "Worker child with PID " PRIgid " terminated with status %d: %s.\n",