summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
325d5f0)
Change-Id: Ib61ba93c3f0dd46bb172d31d3c51c5f9913e658a
echo "Starting daemon: " $name
# start the program
if [ -f $pidfile ]; then
echo "Starting daemon: " $name
# start the program
if [ -f $pidfile ]; then
- if [ -f "$(cat /proc/$(cat $pidfile)/exe > /dev/null)" ] ; then
+ if [ -f /proc/"$(cat $pidfile)"/exe ] ; then
echo MCollective appears to be running
exit 1
else
echo MCollective appears to be running
exit 1
else