Add a missing newline to an error message.

I'm almost certain I remember adding this before, but I guess
it somehow got lost.
This commit is contained in:
Nicholas J. Kain 2020-10-20 07:53:23 -04:00
parent bb7841f3ee
commit 48bbb0b805

View File

@ -175,7 +175,7 @@ static void signal_handler(int signo)
{ {
switch (signo) { switch (signo) {
case SIGCHLD: { case SIGCHLD: {
static const char errstr[] = "ndhc-master: Subprocess terminated unexpectedly. Exiting."; static const char errstr[] = "ndhc-master: Subprocess terminated unexpectedly. Exiting.\n";
safe_write(STDOUT_FILENO, errstr, sizeof errstr - 1); safe_write(STDOUT_FILENO, errstr, sizeof errstr - 1);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }