Using rm -f to ignore non existent files
This commit is contained in:
@@ -94,11 +94,11 @@ public:
|
||||
|
||||
genTempMap = Configuration::getInstance().temperatureSim.GenerateTemperatureMap;
|
||||
temperatureMapFile = "temperature_map";
|
||||
std::system("rm temperature_map*");
|
||||
std::system("rm -f temperature_map*");
|
||||
|
||||
genPowerMap = Configuration::getInstance().temperatureSim.GeneratePowerMap;
|
||||
powerMapFile = "power_map";
|
||||
std::system("rm power_map*");
|
||||
std::system("rm -f power_map*");
|
||||
|
||||
SC_THREAD(temperatureThread);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user