artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4376b74
)
Fix args to needs_root() when using "disable" (broken in the v1.9
author
ajacoutot
<ajacoutot@openbsd.org>
Sun, 24 Aug 2014 08:13:15 +0000
(08:13 +0000)
committer
ajacoutot
<ajacoutot@openbsd.org>
Sun, 24 Aug 2014 08:13:15 +0000
(08:13 +0000)
positional args cleanup commit).
from Sebastien Marie
usr.sbin/rcctl/rcctl.sh
patch
|
blob
|
history
diff --git
a/usr.sbin/rcctl/rcctl.sh
b/usr.sbin/rcctl/rcctl.sh
index
8263781
..
4e4b01c
100644
(file)
--- a/
usr.sbin/rcctl/rcctl.sh
+++ b/
usr.sbin/rcctl/rcctl.sh
@@
-1,6
+1,6
@@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.1
3 2014/08/24 07:46:54
ajacoutot Exp $
+# $OpenBSD: rcctl.sh,v 1.1
4 2014/08/24 08:13:15
ajacoutot Exp $
#
# Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@
-313,7
+313,7
@@
if [ $# -gt 0 ]; then
fi
case $action in
disable)
- needs_root $
svc
+ needs_root $
action
if ! svc_is_base $svc && ! svc_is_special $svc; then
rm_from_pkg_scripts $svc
fi