X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=mcollective.init;fp=mcollective.init;h=6b02d0b06572066b6aefa05a5db090168190e5ca;hb=8a3fe7daeecccf43dd71c59371c5005400d35101;hp=6fb229b0c1cc0397018eff095951ea090380706e;hpb=8fd0f35facc21b89b378ecfb253e06a66af1e422;p=packages%2Fprecise%2Fmcollective.git diff --git a/mcollective.init b/mcollective.init index 6fb229b..6b02d0b 100644 --- a/mcollective.init +++ b/mcollective.init @@ -47,7 +47,7 @@ case "$1" in echo "Starting daemon: " $name # start the program if [ -f $pidfile ]; then - if [ -f "$(cat /proc/$(cat $pidfile)/exe > /dev/null)" ] ; then + if [ -f $(cat /proc/$(cat $pidfile)/exe > /dev/null) ] ; then echo MCollective appears to be running exit 1 else