summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysrc
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2015-09-01 21:20:43 +0000
committerdteske <dteske@FreeBSD.org>2015-09-01 21:20:43 +0000
commitce88023a5f159453984a59eef9cb154ca04e9e05 (patch)
treef66a3d1901cf1aa494ebb4f1be5bebfc397d6c48 /usr.sbin/sysrc
parent7038f658a31f9bf8e10235b8a53f2c8812f31b38 (diff)
downloadFreeBSD-src-ce88023a5f159453984a59eef9cb154ca04e9e05.zip
FreeBSD-src-ce88023a5f159453984a59eef9cb154ca04e9e05.tar.gz
Style: comments
MFC after: 3 days X-MFC-to: stable/10
Diffstat (limited to 'usr.sbin/sysrc')
-rw-r--r--usr.sbin/sysrc/sysrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysrc/sysrc b/usr.sbin/sysrc/sysrc
index 68e35fd..d8e3a54 100644
--- a/usr.sbin/sysrc/sysrc
+++ b/usr.sbin/sysrc/sysrc
@@ -200,7 +200,7 @@ jail_depend()
#
# Perform sanity checks
#
-[ $# -gt 0 ] || usage
+[ $# -gt 0 ] || usage # NOTREACHED
#
# Check for `--help' and `--version' command-line option
@@ -233,7 +233,7 @@ while getopts aAcdDef:Fhij:nNqR:vxX flag; do
e) SHOW_EQUALS=1 ;;
f) RC_CONFS="$RC_CONFS${RC_CONFS:+ }$OPTARG" ;;
F) SHOW_FILE=1 ;;
- h) usage ;;
+ h) usage ;; # NOTREACHED
i) IGNORE_UNKNOWNS=1 ;;
j) [ "$OPTARG" ] || die \
"%s: Missing or null argument to \`-j' flag" "$pgm"
@@ -247,7 +247,7 @@ while getopts aAcdDef:Fhij:nNqR:vxX flag; do
v) VERBOSE=1 QUIET= ;;
x) DELETE=${DELETE:-1} ;;
X) DELETE=2 ;;
- \?) usage ;;
+ \?) usage ;; # NOTREACHED
esac
done
shift $(( $OPTIND - 1 ))
@@ -255,7 +255,7 @@ shift $(( $OPTIND - 1 ))
#
# [More] Sanity checks (e.g., "sysrc --")
#
-[ $# -eq 0 -a ! "$SHOW_ALL" ] && usage
+[ $# -eq 0 -a ! "$SHOW_ALL" ] && usage # NOTREACHED
#
# Taint-check all rc.conf(5) files
OpenPOWER on IntegriCloud