Commit 1007d4a9 authored by Stefan Doehla's avatar Stefan Doehla
Browse files

modify to return 0 always regardless of formatting state but return error code...

modify to return 0 always regardless of formatting state but return error code when intial checks fail
parent 23cd10b2
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ if [[ $NUMPROCS -lt 2 ]]; then
    done
    if [[ $NUMFAILS -gt 0 ]]; then
        echo "Total fails:  $NUMFAILS"
        exit $NUMFAILS
#        exit $NUMFAILS  ## uncomment if script should have num fails as return code
    fi
else
    NUMFAILS=0
@@ -229,7 +229,7 @@ else
    rm "$NUMFAILSTMPFILE"
    if [[ $NUMFAILS -gt 0 ]]; then
        echo "Total fails:  $NUMFAILS"
        exit $NUMFAILS
#        exit $NUMFAILS  ## uncomment if script should have num fails as return code
    fi
fi