aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/tools/process-tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/tools/process-tools.c')
-rw-r--r--src/main/tools/process-tools.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/tools/process-tools.c b/src/main/tools/process-tools.c
index 045be73920..b0067f8eb1 100644
--- a/src/main/tools/process-tools.c
+++ b/src/main/tools/process-tools.c
@@ -51,8 +51,7 @@ void Redirect(const char *target_path, int fd, const char *name) {
if (target_path != NULL && strcmp(target_path, "-") != 0) {
int fd_out;
const int flags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND;
- CHECK_CALL(fd_out = open(target_path, flags, 0666),
- "Could not open %s for redirection of %s", target_path, name);
+ CHECK_CALL(fd_out = open(target_path, flags, 0666));
CHECK_CALL(dup2(fd_out, fd));
CHECK_CALL(close(fd_out));
}