mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
[refactor] Kill parent script on exit
This commit is contained in:
@@ -1752,7 +1752,7 @@ set_main_ip() {
|
|||||||
This is not a supported configuration, please remediate and rerun setup.
|
This is not a supported configuration, please remediate and rerun setup.
|
||||||
EOM
|
EOM
|
||||||
whiptail --title "Security Onion Setup" --msgbox "$message" 10 75
|
whiptail --title "Security Onion Setup" --msgbox "$message" 10 75
|
||||||
exit 1
|
kill -SIGKILL "$(ps --pid $$ -oppid=)"; exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user