summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/mustberoot.subr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdconfig/share/mustberoot.subr')
-rw-r--r--usr.sbin/bsdconfig/share/mustberoot.subr3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/mustberoot.subr b/usr.sbin/bsdconfig/share/mustberoot.subr
index 0b134f8..a05ddc7 100644
--- a/usr.sbin/bsdconfig/share/mustberoot.subr
+++ b/usr.sbin/bsdconfig/share/mustberoot.subr
@@ -171,7 +171,8 @@ f_become_root_via_sudo()
--cancel-label "$msg_cancel" \
--password --inputbox "$prompt" \
$height $width \
- 2>&1 > /dev/null )
+ 2>&1 > /dev/null
+ )
retval=$?
# Catch X11-related errors
OpenPOWER on IntegriCloud