summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2014-08-24 17:01:44 +0000
committerajacoutot <ajacoutot@openbsd.org>2014-08-24 17:01:44 +0000
commit274de50518296984b87d543d3b96d6ae9321d62b (patch)
tree218548786bffdc3ccb5b3cc9b40aad12458ba523
parentconstify strerror return value (diff)
downloadwireguard-openbsd-274de50518296984b87d543d3b96d6ae9321d62b.tar.xz
wireguard-openbsd-274de50518296984b87d543d3b96d6ae9321d62b.zip
Drop obvious comments.
-rw-r--r--usr.sbin/rcctl/rcctl.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh
index c4faf934cee..64511e33bf2 100644
--- a/usr.sbin/rcctl/rcctl.sh
+++ b/usr.sbin/rcctl/rcctl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.15 2014/08/24 13:46:57 schwarze Exp $
+# $OpenBSD: rcctl.sh,v 1.16 2014/08/24 17:01:44 ajacoutot Exp $
#
# Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@ -58,12 +58,8 @@ svc_default_enabled()
local _svc=$1
[ -n "${_svc}" ] || return
- # get _defaults_ values only
_rc_parse_conf /etc/rc.conf
-
svc_is_enabled ${_svc} && _ret=0
-
- # reparse _all_ values
_rc_parse_conf
return ${_ret}