When execute_buffer() is passed an invalid command, print the bad command
when logging the error.
This commit is contained in:
parent
4afddd471a
commit
312884dfc5
@ -320,7 +320,7 @@ static void process_client_pipe(void)
|
||||
}
|
||||
|
||||
if (execute_buffer(buf) == -1) {
|
||||
log_line("ifch: execute_buffer was passed invalid commands");
|
||||
log_line("ifch: execute_buffer was passed invalid commands: '%s'", buf);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user