system, check the 2nd var, it is 0 more often but seems more accurate.
This commit is contained in:
1 parent
ed8a33e00c
commit
494a9b70f6
1 file changed
+1
-1
@@ -23,7 +23,7 @@
|
||||
|
||||
sleep_long=10
|
||||
sleep_short=1
|
||||
if [[ "$1" != 0 ]]; then
|
||||
if [[ "$2" != 0 ]]; then
|
||||
echo "FINISH: Sleeping for $sleep_long seconds due to error..."
|
||||
sleep $sleep_long
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user