Salome HOME
projects
/
tools
/
libbatch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe13b5d
)
Fix segfault when a job query fails with SLURM
BR_V1_3_6
EMC2P-1.3.6-rc5
EMC2P_V_1_3_6
EMC2P_V_1_3_6-rc6
author
Renaud Barate
<renaud.barate@edf.fr>
Thu, 1 Sep 2022 13:18:04 +0000
(15:18 +0200)
committer
Ovidiu Mircescu
<ovidiu.mircescu@edf.fr>
Thu, 1 Sep 2022 13:49:40 +0000
(15:49 +0200)
src/Slurm/BatchManager_Slurm.cxx
patch
|
blob
|
history
diff --git
a/src/Slurm/BatchManager_Slurm.cxx
b/src/Slurm/BatchManager_Slurm.cxx
index 1d6fe6f05b6d73e71689b4a771f8a94bf1a6a425..ba9fb86516c07c10fd6954b30d71ff1187a87505 100644
(file)
--- a/
src/Slurm/BatchManager_Slurm.cxx
+++ b/
src/Slurm/BatchManager_Slurm.cxx
@@
-251,7
+251,7
@@
namespace Batch {
throw(exc);
}
} else {
- throw RunTimeException("sacct command failed with return code: " +
status
);
+ throw RunTimeException("sacct command failed with return code: " +
to_string(status)
);
}
}
return jobinfo;