From 2b718dab240e32568df71441e04f0af5505a9eb1 Mon Sep 17 00:00:00 2001 From: redxef Date: Tue, 22 Nov 2022 00:02:36 +0100 Subject: [PATCH] Handle std(err|out)_file both being the same file. --- src/scripts/put_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/put_files.sh b/src/scripts/put_files.sh index 9f4fd3b..0913d2a 100644 --- a/src/scripts/put_files.sh +++ b/src/scripts/put_files.sh @@ -37,6 +37,6 @@ stdout_file="${STDOUT_FILE}" ${COMMAND} 1>"$stdout_file" else # both files specified - ${COMMAND} 1>"$stdout_file" 2>"$stderr_file" + ${COMMAND} 1>>"$stdout_file" 2>>"$stderr_file" fi )