Salome HOME
projects
/
tools
/
libbatch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix segfault when a job query fails with SLURM
[tools/libbatch.git]
/
src
/
Slurm
/
BatchManager_Slurm.cxx
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;