From 494a9b70f6fe422ce59bee76c5c61fa2cf8e81d8 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 22 Oct 2026 09:04:12 -0700 Subject: [PATCH] system, check the 2nd var, it is 0 more often but seems more accurate. --- facts/general/system.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facts/general/system.yml b/facts/general/system.yml index b5c2843..2a672d4 100644 --- a/facts/general/system.yml +++ b/facts/general/system.yml @@ -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