mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Only run initial installer progress to 98 to avoid sitting at 100
This commit is contained in:
@@ -1000,7 +1000,7 @@ detect_os() {
|
||||
installer_progress_loop() {
|
||||
local i=0
|
||||
while true; do
|
||||
((i++))
|
||||
[[ $i -lt 98 ]] && ((i++))
|
||||
set_progress_str "$i" 'Checking that all required packages are installed and enabled...' nolog
|
||||
[[ $i -gt 0 ]] && sleep 5s
|
||||
done
|
||||
|
||||
@@ -283,7 +283,7 @@ fi
|
||||
|
||||
percentage=0
|
||||
{
|
||||
installer_progress_loop & # Run progress bar to 100 in ~8 minutes while waiting for package installs
|
||||
installer_progress_loop & # Run progress bar to 98 in ~8 minutes while waiting for package installs
|
||||
progress_bg_proc=$!
|
||||
installer_prereq_packages
|
||||
install_success=$?
|
||||
|
||||
Reference in New Issue
Block a user