From 1e512d3e38ec4a1b819dfce1288ebc605907353e Mon Sep 17 00:00:00 2001 From: caremoli Date: Fri, 21 Jan 2011 17:15:59 +0000 Subject: [PATCH] CCAR: reset temporary file name attribute --- src/Container/SALOME_ContainerManager.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2