summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/networking/share/hostname.subr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdconfig/networking/share/hostname.subr')
-rw-r--r--usr.sbin/bsdconfig/networking/share/hostname.subr5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bsdconfig/networking/share/hostname.subr b/usr.sbin/bsdconfig/networking/share/hostname.subr
index 61df2b4..5fc3f5a 100644
--- a/usr.sbin/bsdconfig/networking/share/hostname.subr
+++ b/usr.sbin/bsdconfig/networking/share/hostname.subr
@@ -108,9 +108,8 @@ f_dialog_input_hostname()
# Loop until the user provides taint-free input.
#
while :; do
- hostname=$( f_dialog_input "$msg" "$hostname" \
- "$hline_alnum_punc_tab_enter"
- ) || return
+ f_dialog_input hostname "$msg" "$hostname" \
+ "$hline_alnum_punc_tab_enter" || return
# Taint-check the user's input
f_dialog_validate_hostname "$hostname" && break
done
OpenPOWER on IntegriCloud