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

fix: logic problem in detection of error status

SVN: 7203
parent 2f1579dc
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ getStatus() ...@@ -61,7 +61,7 @@ getStatus()
if [ -f .MARKER_shutdown ]; then if [ -f .MARKER_shutdown ]; then
STATUS=SHUTDOWN STATUS=SHUTDOWN
return 1 return 1
elif [ "`ls -a1 | awk '/\.MARKER_.*_error/ {print $1}'`" = "" ]; then elif [ "`ls -a1 | awk '/\.MARKER_.*_error/ {print $1}'`" != "" ]; then
STATUS=ERROR STATUS=ERROR
elif [ "`ls -a1 | awk '/\.MARKER_.*_processing/ {print $1}'`" = "" ]; then elif [ "`ls -a1 | awk '/\.MARKER_.*_processing/ {print $1}'`" = "" ]; then
STATUS=IDLE STATUS=IDLE
......
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