diff --git a/facts/general/system.yml b/facts/general/system.yml index 2a672d4..b5c2843 100644 --- a/facts/general/system.yml +++ b/facts/general/system.yml @@ -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