From 7c7c225a415695fd854643e674e369c43e61f673 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Tue, 2 Nov 2021 14:01:21 -0400 Subject: [PATCH] Fix tmp file check --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index b4e469ced..d71511971 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -356,7 +356,7 @@ if [[ -z $is_airgap ]]; then kill -9 "$progress_bg_proc" wait "$progress_bg_proc" &> /dev/null } | progress '...' - [[ -f /tmp/setup_tmp_var ]] && preflight_ret=$(cat /tmp/preflight_ret) + [[ -f /tmp/preflight_ret ]] && preflight_ret=$(cat /tmp/preflight_ret) rm /tmp/preflight_ret if [[ -n $preflight_ret && $preflight_ret -gt 0 ]] && ! ( whiptail_preflight_err ); then whiptail_cancel