aboutsummaryrefslogtreecommitdiff
path: root/src/archive.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 09:12:13 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 09:13:49 -0500
commit6292c699248d3dfa6271ae0961e63436615653f2 (patch)
treec456bacd51414480179c60e520867c8ff9cc1836 /src/archive.c
parent1c2cdc4d8e28ce1b4c0d1ba75686f05fd5dd772d (diff)
downloadspmc-6292c699248d3dfa6271ae0961e63436615653f2.tar.gz
Rework dependency scanning:
* Stop resolving dependencies during manifest creation * Resolve dependencies by path * Die on failure to resolve * Fixed an off-by-one error in manifest_read * Add CLI argument -M|--override-manifest to disable default manifest(s) * Clean up expandpath() a bit
Diffstat (limited to 'src/archive.c')
-rw-r--r--src/archive.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/archive.c b/src/archive.c
index e12acf0..c8aad35 100644
--- a/src/archive.c
+++ b/src/archive.c
@@ -49,6 +49,9 @@ int tar_extract_file(const char *_archive, const char* _filename, const char *_d
}
status = proc->returncode;
+ if (status != 0) {
+ fprintf(stderr, proc->output);
+ }
shell_free(proc);
free(archive);