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:
parent
bb7841f3ee
commit
48bbb0b805
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user