Skip to content

Commit

Permalink
Merge pull request saltstack#9588 from dmyerscough/fix-init-script
Browse files Browse the repository at this point in the history
Fix init script
  • Loading branch information
thatch45 committed Jan 6, 2014
2 parents 8e7a8e2 + 65cde36 commit ad526c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 [ $(pidofproc $PROCESS) ]; then
if [[ $(pidofproc $PROCESS) ]]; then
RETVAL=$?
echo -n "already running"
else
Expand Down
2 changes: 1 addition & 1 deletion pkg/suse/salt-minion
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ start() {
RETVAL=0
fi
else
if [ $(pidofproc $PROCESS) ]; then
if [[ $(pidofproc $PROCESS) ]]; then
RETVAL=$?
echo -n "already running"
else
Expand Down

0 comments on commit ad526c9

Please sign in to comment.