From 96145d5fdc0d695414f200c2afa372818f4857df Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 30 Dec 2019 16:01:31 -0500 Subject: 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 --- src/relocation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/relocation.c') 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, "&;|"); -- cgit