Skip to content
Snippets Groups Projects
Commit f34c2f1c authored by brinn's avatar brinn
Browse files

fix: startup sequence for non-GNU greps

SVN: 2035
parent b653381b
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ case "$1" in ...@@ -91,7 +91,7 @@ case "$1" in
PID=`cat $PIDFILE` PID=`cat $PIDFILE`
isPIDRunning $PID isPIDRunning $PID
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
grep -q "Self test successfully completed" $LOGFILE grep "Self test successfully completed" $LOGFILE > /dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "(pid $PID - WARNING: SelfTest not yet finished)" echo "(pid $PID - WARNING: SelfTest not yet finished)"
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment