Fix dialog typo

This commit is contained in:
Serkan Sahin
2025-12-20 17:09:35 +00:00
committed by Igor
parent 11b3b3308f
commit cc1d4c538b

View File

@@ -10,7 +10,7 @@ module_options+=(
# @description Change system hostname
#
function change_system_hostname() {
local new_hostname=$($DIALOG --title "Enter new hostnane" --inputbox "" 7 50 3>&1 1>&2 2>&3)
local new_hostname=$($DIALOG --title "Enter new hostname" --inputbox "" 7 50 3>&1 1>&2 2>&3)
[ $? -eq 0 ] && [ -n "${new_hostname}" ] && hostnamectl set-hostname "${new_hostname}"
}