summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr.sbin/bsdconfig/bsdconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/bsdconfig b/usr.sbin/bsdconfig/bsdconfig
index 340beb8..d02afe1 100755
--- a/usr.sbin/bsdconfig/bsdconfig
+++ b/usr.sbin/bsdconfig/bsdconfig
@@ -290,8 +290,9 @@ if [ "$1" ]; then
#
# ...unless it's a long-option for usage.
#
- case "$1" in
- -help|--help|-\?) usage;;
+ case "$1" in -help|--help|-\?)
+ usage
+ # Not reached
esac
#
@@ -304,10 +305,12 @@ if [ "$1" ]; then
# no matches, display usage (which shows valid keywords)
f_err "%s: %s: $msg_not_found\n" "$pgm" "$1"
usage
+ # Not reached
fi
shift
exec $cmd ${USE_XDIALOG:+-X} "$@" || exit 1
+ # Not reached
fi
#
OpenPOWER on IntegriCloud