From: caremoli Date: Fri, 21 Jan 2011 17:15:59 +0000 (+0000) Subject: CCAR: reset temporary file name attribute X-Git-Tag: Start_BR_19998_21191~94 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1e512d3e38ec4a1b819dfce1288ebc605907353e;p=modules%2Fkernel.git CCAR: reset temporary file name attribute --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index a22a39c2f..6ddaaa0a1 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -440,11 +440,13 @@ SALOME_ContainerManager::GiveContainer(const Engines::ContainerParameters& param if (status == -1){ MESSAGE("SALOME_ContainerManager::StartContainer rsh failed (system command status -1)"); RmTmpFile(_TmpFileName); // command file can be removed here + _TmpFileName=""; return Engines::Container::_nil(); } else if (status == 217){ MESSAGE("SALOME_ContainerManager::StartContainer rsh failed (system command status 217)"); RmTmpFile(_TmpFileName); // command file can be removed here + _TmpFileName=""; return Engines::Container::_nil(); } else @@ -475,6 +477,7 @@ SALOME_ContainerManager::GiveContainer(const Engines::ContainerParameters& param logFilename=user+logFilename; ret->logfilename(logFilename.c_str()); RmTmpFile(_TmpFileName); // command file can be removed here + _TmpFileName=""; } } return ret;