From 522f18523de948b9cd73dba79de87eaf6fe60529 Mon Sep 17 00:00:00 2001
From: Francois Henrotte <francois.henrotte@ulg.ac.be>
Date: Thu, 29 Nov 2012 15:10:32 +0000
Subject: [PATCH]

---
 contrib/onelab/OnelabClients.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/onelab/OnelabClients.cpp b/contrib/onelab/OnelabClients.cpp
index 9255ddb3ae..ba839c14bd 100644
--- a/contrib/onelab/OnelabClients.cpp
+++ b/contrib/onelab/OnelabClients.cpp
@@ -442,6 +442,8 @@ bool localSolverClient::checkCommandLine(){
 	}
 	PCLOSE(fp);
       }
+#else
+      success=true;
 #endif
     }
   }
@@ -452,10 +454,10 @@ bool localSolverClient::checkCommandLine(){
     OLMsg::Info("Command line ok");
   }
   else{
-    setCommandLine("");
-    OLMsg::SetOnelabString(getName() + "/CommandLine", getCommandLine(), true);
     OLMsg::Error("Invalid command line <%s> for client <%s>",
 		 getCommandLine().c_str(), getName().c_str());
+    //setCommandLine("");
+    OLMsg::SetOnelabString(getName() + "/CommandLine", getCommandLine(), true);
   }
   return success;
 }
-- 
GitLab