From 6efdf1b9d0444ddb9f39127589c7cbba66d4af83 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Fri, 1 Sep 2023 17:24:12 -0400 Subject: [PATCH] add additional test modes --- setup/so-functions | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index 4f973d147..efa6c800f 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -101,8 +101,10 @@ desktop_salt_local() { Press the Enter key to reboot. EOM - whiptail --title "$whiptail_title" --msgbox "$message" 12 75 - reboot + if [[ -z "$TESTING" ]]; then + whiptail --title "$whiptail_title" --msgbox "$message" 12 75 + reboot + fi exit 0 }