summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rcctl
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2015-07-17 18:00:43 +0000
committerajacoutot <ajacoutot@openbsd.org>2015-07-17 18:00:43 +0000
commit4112e1bf65ab9b0db1fe1cf3d7d13cd1e68bc744 (patch)
treedb2575902b70ff5e3118952de1be0f5e252c7827 /usr.sbin/rcctl
parentMake tcpdump display BSS load information contained in 802.11 mgmt frames. (diff)
downloadwireguard-openbsd-4112e1bf65ab9b0db1fe1cf3d7d13cd1e68bc744.tar.xz
wireguard-openbsd-4112e1bf65ab9b0db1fe1cf3d7d13cd1e68bc744.zip
return 0 when using "getall"
spotted by jasper@
Diffstat (limited to 'usr.sbin/rcctl')
-rw-r--r--usr.sbin/rcctl/rcctl.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh
index 52f5d17f734..43e73183f86 100644
--- a/usr.sbin/rcctl/rcctl.sh
+++ b/usr.sbin/rcctl/rcctl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.74 2015/07/16 23:05:12 ajacoutot Exp $
+# $OpenBSD: rcctl.sh,v 1.75 2015/07/17 18:00:43 ajacoutot Exp $
#
# Copyright (c) 2014, 2015 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -478,6 +478,7 @@ case ${action} in
;;
getall) # undocumented, deprecated
for i in $(svc_ls all); do svc_get ${i}; done
+ return 0
;;
getdef)
( svc_getdef ${svc} "${var}" )