From 8a3fe7daeecccf43dd71c59371c5005400d35101 Mon Sep 17 00:00:00 2001 From: Dmitry Burmistrov Date: Thu, 7 Nov 2013 18:43:30 +0400 Subject: [PATCH] Update mcollective.init according to OSCI-855 --- debian/mcollective.init | 2 +- mcollective.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.32.3