Skip to content

Commit

Permalink
734755 - Service katello-jobs status shows no file or directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Aug 31, 2011
1 parent 54603f2 commit 5dbef44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extras/fedora/katello-jobs.init
Expand Up @@ -28,7 +28,7 @@ export RAILS_ENV=$KATELLO_ENV
status() {
#check if pid file exists
pidfile=`ls ${KATELLO_PID} 2>/dev/null | head -n1`
if [ -f $pidfile ]; then
if [ -f "$pidfile" ]; then
pid=`cat "$pidfile"`
#check if proces with pid from the file is running
if `ps -p $pid > /dev/null`; then
Expand Down

0 comments on commit 5dbef44

Please sign in to comment.