hello, > PID=`pgrep gloob` > if [ -z "$PID" ] > then > /usr/local/bin/gloob -f poor_security_a_bad_idea_to_run.conf > fi
is there a reason to not use the pgrep status ? pgrep -q gloob || /usr/local/bin/gloob regards, marc
hello, > PID=`pgrep gloob` > if [ -z "$PID" ] > then > /usr/local/bin/gloob -f poor_security_a_bad_idea_to_run.conf > fi
is there a reason to not use the pgrep status ? pgrep -q gloob || /usr/local/bin/gloob regards, marc