When execute_buffer() is passed an invalid command, print the bad command

when logging the error.
This commit is contained in:
Nicholas J. Kain 2014-03-14 20:48:33 -04:00
parent 4afddd471a
commit 312884dfc5

View File

@ -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);
}
}