summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/rcctl/rcctl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh
index 76bb1613c91..792b3c1503a 100644
--- a/usr.sbin/rcctl/rcctl.sh
+++ b/usr.sbin/rcctl/rcctl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.34 2014/08/29 21:04:37 schwarze Exp $
+# $OpenBSD: rcctl.sh,v 1.35 2014/08/30 20:37:46 ajacoutot Exp $
#
# Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@ -267,7 +267,7 @@ flags=$*
if [ -n "$svc" ]; then
if ! svc_is_avail $svc; then
- _rc_err "${0##*/}: service $svc does not exist"
+ _rc_err "${0##*/}: service $svc does not exist" 2
fi
elif [ "$action" != "status" ]; then
usage