From: Dmitry Burmistrov Date: Thu, 7 Nov 2013 14:43:30 +0000 (+0400) Subject: Update mcollective.init according to OSCI-855 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;ds=inline;p=packages%2Fprecise%2Fmcollective.git Update mcollective.init according to OSCI-855 --- diff --git a/debian/mcollective.init b/debian/mcollective.init index 6fb229b..6b02d0b 100755 --- a/debian/mcollective.init +++ b/debian/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 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