diff options
| -rwxr-xr-x | tools/boca-auth-runs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/boca-auth-runs b/tools/boca-auth-runs index 488e65b..82db1d2 100755 --- a/tools/boca-auth-runs +++ b/tools/boca-auth-runs @@ -77,6 +77,13 @@ if [ "$?" == "0" ]; then grep -q "$iv" "${temp}.1" if [ "$?" == "0" ]; then /bin/bash "${temp}.1" + ret=$? + rm -f "${temp}.1" + if [ "$ret" != "0" ]; then + echo "$BOCASERVER: bad local status ($ret)" + rm -f "${temp}.cookie.txt" + exit 5 + fi else echo "" echo "$BOCASERVER: downloaded content is corrupted" @@ -87,7 +94,6 @@ if [ "$?" == "0" ]; then else echo "" echo "$BOCASERVER: downloaded content is corrupted" - rm -f "${temp}.1" rm -f "${temp}.cookie.txt" exit 4 fi |