Skip to content

Commit

Permalink
Fix service restart over salt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Atkinson committed Feb 18, 2014
1 parent 7d2d219 commit 4c87afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpm/salt-minion
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ start() {
RETVAL=0
fi
else
if [[ ! -z "$(pidofproc $PROCESS)" ]]; then
if [[ ! -z "$(pidofproc -p /var/run/$SERVICE.pid $PROCESS)" ]]; then
RETVAL=$?
echo -n "already running"
else
Expand Down

0 comments on commit 4c87afb

Please sign in to comment.