diff options
-rw-r--r-- | lib/archive.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/archive.c b/lib/archive.c index 18f0437..6452647 100644 --- a/lib/archive.c +++ b/lib/archive.c @@ -102,6 +102,10 @@ int tar_extract_archive(const char *_archive, const char *_destination) { } status = proc->returncode; + if (status != 0 && SPM_GLOBAL.verbose) { + fprintf(stderr, "%s", proc->output); + } + shell_free(proc); free(archive); free(destination); |