Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
3a59e7c2
Commit
3a59e7c2
authored
10 years ago
by
Josh Samuelson
Committed by
David Bigagli
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/init.d.slurm.in
+2
-2
2 additions, 2 deletions
etc/init.d.slurm.in
with
2 additions
and
2 deletions
etc/init.d.slurm.in
+
2
−
2
View file @
3a59e7c2
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment