aboutsummaryrefslogtreecommitdiff
path: root/src/spm.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-12-30 16:01:31 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-12-30 16:01:31 -0500
commit96145d5fdc0d695414f200c2afa372818f4857df (patch)
tree84747df601a2f3688cefe15eaf9fbfe411e891c8 /src/spm.c
parentd0e254663e64e40b676644038a9d7c95a2f25116 (diff)
downloadspmc-96145d5fdc0d695414f200c2afa372818f4857df.tar.gz
Fixes
* Verbosity++ * If no requirements are present do not to report we are installing some * Redirect all shell output to stderr (need a better way) * implemented file_is_binexec() to avoid running patchelf on generic data files
Diffstat (limited to 'src/spm.c')
-rw-r--r--src/spm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spm.c b/src/spm.c
index 11ad736..5759688 100644
--- a/src/spm.c
+++ b/src/spm.c
@@ -198,7 +198,7 @@ int main(int argc, char *argv[]) {
}
}
- if (deps) {
+ if (deps->records) {
// List requirements before installation
for (size_t i = 0; i < deps->records; i++) {
printf(" -> %s\n", deps->list[i]);