[fix] Don't run check_exitstatus in whiptail_homenet_sensor

This commit is contained in:
William Wernert
2020-05-01 11:04:35 -04:00
parent a44158261a
commit 299709108f
2 changed files with 2 additions and 1 deletions

View File

@@ -667,7 +667,9 @@ fireeye_pillar() {
}
# Run a salt command to generate the minion key
salt_firstcheckin() {
echo "Next line will show [ERROR], this is expected" >> "$setup_log" 2>&1
salt-call state.show_top >> "$setup_log" 2>&1
}

View File

@@ -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
local exitstatus=$?
whiptail_check_exitstatus $exitstatus
if [ $exitstatus == 0 ]; then
export HNSENSOR=inherit