summaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2018-05-12 05:36:47 +0000
committerDevin Teske <dteske@FreeBSD.org>2018-05-12 05:36:47 +0000
commit4a84c26cfc241ffa113d2e815d61d4b406b937e9 (patch)
tree0b5dfa0e78dfe17ef20113ebeb318b88287907ba /cddl
parentd626a614b9db4d97a92c37fd0160d58ee1ba2eb1 (diff)
downloadsrc-test2-4a84c26cfc241ffa113d2e815d61d4b406b937e9.tar.gz
src-test2-4a84c26cfc241ffa113d2e815d61d4b406b937e9.zip
Notes
Diffstat (limited to 'cddl')
-rwxr-xr-xcddl/usr.sbin/dwatch/dwatch5
1 files changed, 2 insertions, 3 deletions
diff --git a/cddl/usr.sbin/dwatch/dwatch b/cddl/usr.sbin/dwatch/dwatch
index 05a007dccde1..2da14a9d9459 100755
--- a/cddl/usr.sbin/dwatch/dwatch
+++ b/cddl/usr.sbin/dwatch/dwatch
@@ -47,7 +47,7 @@ DTRACE_PRAGMA="
############################################################ GLOBALS
-VERSION='$Version: 1.1 $' # -V
+VERSION='$Version: 1.2 $' # -V
pgm="${0##*/}" # Program basename
@@ -490,8 +490,7 @@ list_profiles()
function ans(s) { return cons ? "\033[" s "m" : "" }
gsub(filter, ans("31;1") "&" ans("39;22"))
' # END-QUOTE
- return $SUCCESS
- # NOTREACHED
+ exit $SUCCESS
fi
[ "$quiet" ] || echo PROFILES: