]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Build Libbatch on Windows (VS 2017).
authorrnv <rnv@opencascade.com>
Thu, 8 Aug 2019 13:27:17 +0000 (16:27 +0300)
committerrnv <rnv@opencascade.com>
Thu, 8 Aug 2019 13:27:17 +0000 (16:27 +0300)
src/Slurm/BatchManager_Slurm.cxx

index a415da4b6d94539f0a9edb752aafe01df32d3d29..f9311638ff16a4bbece191c9dfecd7138c5a84e9 100644 (file)
@@ -236,7 +236,7 @@ namespace Batch {
 
     // If "squeue" failed, the job may be finished. In this case, try to query the job with
     // "sacct".
-    if (not found) {
+    if (! found) {
         string subCommand = "sacct -X -o State%-10 -n -j " + jobid.getReference();
         string command = _protocol.getExecCommand(subCommand, _hostname, _username);
         LOG(command);