mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix tmp file check
This commit is contained in:
@@ -356,7 +356,7 @@ if [[ -z $is_airgap ]]; then
|
|||||||
kill -9 "$progress_bg_proc"
|
kill -9 "$progress_bg_proc"
|
||||||
wait "$progress_bg_proc" &> /dev/null
|
wait "$progress_bg_proc" &> /dev/null
|
||||||
} | progress '...'
|
} | 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
|
rm /tmp/preflight_ret
|
||||||
if [[ -n $preflight_ret && $preflight_ret -gt 0 ]] && ! ( whiptail_preflight_err ); then
|
if [[ -n $preflight_ret && $preflight_ret -gt 0 ]] && ! ( whiptail_preflight_err ); then
|
||||||
whiptail_cancel
|
whiptail_cancel
|
||||||
|
|||||||
Reference in New Issue
Block a user