diff options
author | dteske <dteske@FreeBSD.org> | 2012-10-25 21:04:11 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2012-10-25 21:04:11 +0000 |
commit | 6e396e7bb658de33b582ba0b43ea74d49405c98e (patch) | |
tree | 53fa70ea45f818caaeb5b430a31bae6c9cf15656 /usr.sbin/bsdconfig/security | |
parent | bac20b679d394666359241df51cd79eab738bc5a (diff) | |
download | FreeBSD-src-6e396e7bb658de33b582ba0b43ea74d49405c98e.zip FreeBSD-src-6e396e7bb658de33b582ba0b43ea74d49405c98e.tar.gz |
When Xdialog(1) is passed a NULL argument to its `--help' option, Xdialog(1)
acts like dialog(1) in that it returns exit status 2 when the help button is
chosen.
Approved by: adri (co-mentor) (implicit)
Diffstat (limited to 'usr.sbin/bsdconfig/security')
-rwxr-xr-x | usr.sbin/bsdconfig/security/kern_securelevel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/security/kern_securelevel b/usr.sbin/bsdconfig/security/kern_securelevel index dbabd00..a0a7a95 100755 --- a/usr.sbin/bsdconfig/security/kern_securelevel +++ b/usr.sbin/bsdconfig/security/kern_securelevel @@ -76,7 +76,7 @@ dialog_menu_main() --ok-label \"\$msg_ok\" \ --cancel-label \"\$msg_cancel\" \ --help-button \ - ${USE_XDIALOG:+--help \"\$( f_include_help SECURELEVEL )\"} \ + ${USE_XDIALOG:+--help \"\"} \ --menu \"\$prompt\" $size \ $menu_list \ 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD |