From 221956438d1c83ae2d9053e0757e97bee28a1440 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Wed, 22 Feb 2023 03:37:07 +0100 Subject: [PATCH] #48: Redirect compression command `echo` to `/dev/null` --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 1535608..e9d3300 100644 --- a/main.cpp +++ b/main.cpp @@ -684,7 +684,7 @@ void exec(unsigned short threadId, string cmd, bool debug) debugErrFilePath = debugCommonFilePath + ".err"; cmd += " >> " + debugOutFilePath; cmd += " 2>> " + debugErrFilePath; - cmd += "; echo \"" + initialCmd + "\" | tee -a " + debugOutFilePath + " " + debugErrFilePath; + cmd += "; echo \"" + initialCmd + "\" | tee -a " + debugOutFilePath + " " + debugErrFilePath + " > /dev/null"; } system(cmd.c_str()); }