Skip to content
Snippets Groups Projects
Commit 2cd837d2 authored by Mark Grondona's avatar Mark Grondona
Browse files

o apply patch provided by Chris Holmes <cholmes@hp.com> to allow

   comments on "Pidfile" line of config file.
parent fcf282ce
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@ slurmstatus() {
pidfile=`grep -i ${base}pid /etc/slurm/slurm.conf | grep -v '^ *#'`
if [ $? = 0 ]; then
pidfile=${pidfile##*=}
pidfile=${pidfile%#*}
else
pidfile=/var/run/${base}.pid
fi
......
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