diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-12-30 16:01:31 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-12-30 16:01:31 -0500 |
commit | 96145d5fdc0d695414f200c2afa372818f4857df (patch) | |
tree | 84747df601a2f3688cefe15eaf9fbfe411e891c8 /src/relocation.c | |
parent | d0e254663e64e40b676644038a9d7c95a2f25116 (diff) | |
download | spmc-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/relocation.c')
-rw-r--r-- | src/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/relocation.c b/src/relocation.c index 9d627e4..473624a 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -297,7 +297,7 @@ int relocate(const char *_filename, const char *_oldstr, const char *_newstr) { char cmd[PATH_MAX]; memset(cmd, '\0', sizeof(cmd)); - sprintf(cmd, "reloc \"%s\" \"%s\" \"%s\" \"%s\"", oldstr, newstr, filename, filename); + sprintf(cmd, "reloc \"%s\" \"%s\" \"%s\" \"%s\" 2>&1", oldstr, newstr, filename, filename); // sanitize command strchrdel(cmd, "&;|"); |