--- /app/slurm/wjb/init.d.slurm.old	2012-02-14 10:49:58.000000000 -0700
+++ /etc/init.d/slurm	2012-02-15 11:33:52.729278873 -0700
@@ -223,6 +223,15 @@
 	  fi
        done
     done
+
+	# slurmstatus return 1 in case of stopped daemon
+	# and that is what we are looking for here
+    if [[ ${RETVAL} == "1" ]]
+    then    
+        RETVAL=0
+    else
+        RETVAL=1
+    fi
 }
 
 #
