mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Don't run check_exitstatus in whiptail_homenet_sensor
This commit is contained in:
@@ -667,7 +667,9 @@ fireeye_pillar() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Run a salt command to generate the minion key
|
||||||
salt_firstcheckin() {
|
salt_firstcheckin() {
|
||||||
|
echo "Next line will show [ERROR], this is expected" >> "$setup_log" 2>&1
|
||||||
salt-call state.show_top >> "$setup_log" 2>&1
|
salt-call state.show_top >> "$setup_log" 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -349,7 +349,6 @@ whiptail_homenet_sensor() {
|
|||||||
whiptail --title "Security Onion Setup" --yesno "Do you want to inherit the HOME_NET from the Master?" 8 75
|
whiptail --title "Security Onion Setup" --yesno "Do you want to inherit the HOME_NET from the Master?" 8 75
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
|
||||||
|
|
||||||
if [ $exitstatus == 0 ]; then
|
if [ $exitstatus == 0 ]; then
|
||||||
export HNSENSOR=inherit
|
export HNSENSOR=inherit
|
||||||
|
|||||||
Reference in New Issue
Block a user