]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Revert previous change since bug in vishnu_create_dir -p is now fixed V1_5_0rc1
authorbarate <barate>
Mon, 23 Apr 2012 08:40:17 +0000 (08:40 +0000)
committerbarate <barate>
Mon, 23 Apr 2012 08:40:17 +0000 (08:40 +0000)
src/Vishnu/Batch_BatchManager_eVishnu.cxx

index 0af56e65811ce0f9c0f19cbd88ebcc39e9b7943d..8809302da307784eadeb39c3dc515be3c6f78e29 100644 (file)
@@ -111,11 +111,10 @@ namespace Batch {
   {
     Parametre params = job.getParametre();
     string subCommand = string("export OMNIORB_CONFIG=$VISHNU_CONFIG_FILE; ");
-    subCommand += "vishnu_connect -p 2 || exit; ";
+    subCommand += "vishnu_connect -p 2 && ";
 
     // create remote directories
-    // error in this command is not fatal because it fails if the directory already exists
-    subCommand += "vishnu_create_dir -p " + _hostname + ":" + params[WORKDIR].str() + "/logs; ";
+    subCommand += "vishnu_create_dir -p " + _hostname + ":" + params[WORKDIR].str() + "/logs && ";
 
     // copy executable
     string executeFile = params[EXECUTABLE];