Skip to content
Snippets Groups Projects
Commit 3a59e7c2 authored by Josh Samuelson's avatar Josh Samuelson Committed by David Bigagli
Browse files

Fix slurm etc script to return 0 when stopping the service.

parent e190481d
No related branches found
No related tags found
No related merge requests found
...@@ -225,9 +225,9 @@ slurmstop() { ...@@ -225,9 +225,9 @@ slurmstop() {
done done
done done
# slurmstatus return 1 in case of stopped daemon # slurmstatus return 1 or 3 in case of stopped daemon
# and that is what we are looking for here # and that is what we are looking for here
if [[ ${RETVAL} == "1" ]] if [[ ${RETVAL} =~ 1|3 ]]
then then
RETVAL=0 RETVAL=0
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment