1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-27 16:01:57 +03:00
This commit is contained in:
David Hill
2018-09-25 15:25:16 -05:00
parent 5b7b3472c3
commit 2c38d5ba4f
4 changed files with 13 additions and 13 deletions

View File

@@ -2670,16 +2670,16 @@ pid_t ProcessMonitor::startProcess(string processModuleType, string processName,
if ( LogFile == "off" )
{
string cmd = "mv " + outFileName + " " + saveoutFileName;
string cmd = "mv " + outFileName + " " + saveoutFileName + " > /dev/null";
system(cmd.c_str());
cmd = "mv " + errFileName + " " + saveerrFileName;
cmd = "mv " + errFileName + " " + saveerrFileName + " > /dev/null";
system(cmd.c_str());
}
else
{
string cmd = "mv " + outFileName + " " + saveoutFileName;
string cmd = "mv " + outFileName + " " + saveoutFileName + " > /dev/null";
system(cmd.c_str());
cmd = "mv " + errFileName + " " + saveerrFileName;
cmd = "mv " + errFileName + " " + saveerrFileName + " > /dev/null";
system(cmd.c_str());
}