system, change back to checking exit code not status.
This commit is contained in:
1 parent
24e4ea9c8c
commit
4474ad664e
1 file changed
+1
-1
@@ -23,7 +23,7 @@
|
||||
|
||||
sleep_long=10
|
||||
sleep_short=1
|
||||
if [[ "$2" != 0 ]]; then
|
||||
if [[ "$1" != 0 ]]; then
|
||||
echo "FINISH: Sleeping for $sleep_long seconds due to error..."
|
||||
sleep $sleep_long
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user