# HG changeset patch # User Paul Boddie # Date 1706137540 -3600 # Node ID c18fa9fe009e19eacce98073ae00ba49e7f61a06 # Parent b8942c43b1254c361a322bd0619f66fafaa682c6 Tidied up the process termination message. diff -r b8942c43b125 -r c18fa9fe009e fsaccess/op_run.c --- a/fsaccess/op_run.c Wed Jan 24 21:17:37 2024 +0100 +++ b/fsaccess/op_run.c Thu Jan 25 00:05:40 2024 +0100 @@ -126,8 +126,15 @@ if (reader != NULL) _show_output(reader); - printf("End process (flags %" pFMTnotify_flags "x values: %ld, %ld)\n", - notifiable->notifications, notifiable->values.sig, notifiable->values.val); + printf("Completed with"); + + if (notifiable->notifications & NOTIFY_TASK_ERROR) + printf(" error"); + + if (notifiable->notifications & NOTIFY_TASK_SIGNAL) + printf(" signal %ld", notifiable->values.sig); + + printf(" value %ld\n", notifiable->values.val); break; } }