diff options
Diffstat (limited to 'src/blogc-make/exec.c')
-rw-r--r-- | src/blogc-make/exec.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/blogc-make/exec.c b/src/blogc-make/exec.c index 425f728..dc4ee22 100644 --- a/src/blogc-make/exec.c +++ b/src/blogc-make/exec.c @@ -326,8 +326,11 @@ bm_exec_blogc(bm_ctx_t *ctx, bc_trie_t *variables, bool listing, } else { fprintf(stderr, - "blogc-make: error: Failed to execute command, returned " - "status code: %d\n", rv); + "blogc-make: error: Failed to execute command (%d)", rv); + if (err != NULL) { + fprintf(stderr, ":\n%s", bc_str_strip(err)); + } + fprintf(stderr, "\n"); } } |