mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-21 04:02:19 +02:00
[feat] Add message explaining strings cannot contain spaces
This commit is contained in:
@@ -584,7 +584,14 @@ whiptail_install_type_other() {
|
||||
whiptail_invalid_input() { # TODO: This should accept a list of arguments to specify what general pattern the input should follow
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
whiptail --title "Security Onion Setup" --msgbox "Invalid input, please try again." 8 75
|
||||
whiptail --title "Security Onion Setup" --msgbox " Invalid input, please try again." 7 40
|
||||
|
||||
}
|
||||
|
||||
whiptail_invalid_string() {
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
whiptail --title "Security Onion Setup" --msgbox "Invalid input, please try again.\n\nThe $1 cannot contain spaces." 9 45
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user