diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-06-23 00:22:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 00:22:29 -0400 |
commit | fa17600efcd09bf74954e728047fded3ff0bd0cd (patch) | |
tree | 33a5a5a608aaba2752ee3f2188370d315b15864a /lib/archive.c | |
parent | 62db2a4054a55883e7476750c925cb9d5a72fbc5 (diff) | |
parent | 155b25db75ecad4b19fd9a36b1aad64d436925dc (diff) | |
download | spmc-fa17600efcd09bf74954e728047fded3ff0bd0cd.tar.gz |
Merge pull request #48 from jhunkeler/no-auto-repo_target
Move SPM_GLOBAL.repo_target string usage out of mirror_clone
Diffstat (limited to 'lib/archive.c')
-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); |