mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Just hide whiptail cancel message on test installs
This commit is contained in:
@@ -83,10 +83,8 @@ whiptail_bond_nics_mtu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
whiptail_cancel() {
|
whiptail_cancel() {
|
||||||
|
[ -z "$TESTING" ] && whiptail --title "$whiptail_title" --msgbox "Cancelling Setup." 8 75
|
||||||
|
|
||||||
[ -n "$TESTING" ] && exit 1
|
|
||||||
|
|
||||||
whiptail --title "$whiptail_title" --msgbox "Cancelling Setup." 8 75
|
|
||||||
if [ -d "/root/installtmp" ]; then
|
if [ -d "/root/installtmp" ]; then
|
||||||
{
|
{
|
||||||
echo "/root/installtmp exists";
|
echo "/root/installtmp exists";
|
||||||
|
|||||||
Reference in New Issue
Block a user