summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/function6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/function b/etc/function
index 9629d98..3b6e122 100644
--- a/etc/function
+++ b/etc/function
@@ -11,8 +11,8 @@ for funcfile in $ZDIR/functions/*(*N);
unset funcfile
function Start Stop Restart Reload {
- typeset action
- for action in $*; {
- sudo /etc/init.d/$1 ${0:l}
+ typeset script
+ for script in $*; {
+ sudo /etc/init.d/$script ${0:l}
}
}