From 4474ad664e04e188b018653d5778e6c563d763b9 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 22 Oct 2026 09:32:11 -0700 Subject: [PATCH] system, change back to checking exit code not status. --- 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 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