From: rnv Date: Thu, 8 Aug 2019 13:27:17 +0000 (+0300) Subject: Build Libbatch on Windows (VS 2017). X-Git-Tag: V2_4_2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12db1e9004d98c1b0d6e64df670a7e4a1902bdfd;p=tools%2Flibbatch.git Build Libbatch on Windows (VS 2017). --- diff --git a/src/Slurm/BatchManager_Slurm.cxx b/src/Slurm/BatchManager_Slurm.cxx index a415da4..f931163 100644 --- a/src/Slurm/BatchManager_Slurm.cxx +++ b/src/Slurm/BatchManager_Slurm.cxx @@ -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);