mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup - Make sure install completes properly
This commit is contained in:
@@ -1897,13 +1897,13 @@ if (whiptail_you_sure); then
|
|||||||
} |whiptail --title "Hybrid Hunter Install" --gauge "Please wait while installing" 6 60 0
|
} |whiptail --title "Hybrid Hunter Install" --gauge "Please wait while installing" 6 60 0
|
||||||
GOODSETUP=$(tail -10 sosetup.log | grep Failed | awk '{ print $2}')
|
GOODSETUP=$(tail -10 sosetup.log | grep Failed | awk '{ print $2}')
|
||||||
if [ $OS == 'centos' ]; then
|
if [ $OS == 'centos' ]; then
|
||||||
if [ $GOODSETUP == '1' ]; then
|
if [[ $GOODSETUP == '1' ]]; then
|
||||||
whiptail_setup_complete
|
whiptail_setup_complete
|
||||||
else
|
else
|
||||||
whiptail_setup_failed
|
whiptail_setup_failed
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $GOODSETUP == '0' ]; then
|
if [[ $GOODSETUP == '0' ]]; then
|
||||||
whiptail_setup_complete
|
whiptail_setup_complete
|
||||||
else
|
else
|
||||||
whiptail_setup_failed
|
whiptail_setup_failed
|
||||||
|
|||||||
Reference in New Issue
Block a user