diff --git a/usr.sbin/bsdconfig/networking/share/hostname.subr b/usr.sbin/bsdconfig/networking/share/hostname.subr index 751cfa5afc06..959c7df2a3e7 100644 --- a/usr.sbin/bsdconfig/networking/share/hostname.subr +++ b/usr.sbin/bsdconfig/networking/share/hostname.subr @@ -190,7 +190,7 @@ f_dialog_input_hostname() # the stored configuration (in rc.conf(5)). # if [ "$( hostname )" != "$( f_sysrc_get hostname )" ]; then - [ ! "$USE_XDIALOG" ] && dialog_clear + [ ! "$USE_XDIALOG" ] && f_dialog_clear # # If connected via ssh(1) and performing X11-Forwarding, don't