aboutsummaryrefslogtreecommitdiff
path: root/src/fs.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/fs.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/fs.c')
-rw-r--r--src/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs.c b/src/fs.c
index a9438d1..bedfec1 100644
--- a/src/fs.c
+++ b/src/fs.c
@@ -294,7 +294,7 @@ int rsync(const char *_args, const char *_source, const char *_destination) {
strcat(args_combined, _args);
}
- snprintf(cmd, PATH_MAX, "rsync %s \"%s\" \"%s\"", args_combined, source, destination);
+ snprintf(cmd, PATH_MAX, "rsync %s \"%s\" \"%s\" 2>&1", args_combined, source, destination);
// sanitize command
strchrdel(cmd, "&;|");
shell(&proc, SHELL_OUTPUT, cmd);