diff options
| -rw-r--r-- | tests.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -37,7 +37,11 @@ static int run_command(int debug, char *command) int rc; if (debug) { - return system(command); + printf("%s: running \"%s\"\n", __func__, command); + rc = system(command); + printf("%s: %s exited with result %d\n", __func__, command, rc); + + return rc; } else { rc = asprintf(&silent_command, "%s 1>/dev/null", command); if (rc == -1) { |
