#48: Redirect compression command echo to /dev/null

This commit is contained in:
Benjamin Loison 2023-02-22 03:37:07 +01:00
parent c0db4eb437
commit 8d4f31d106
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -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());
}