[arch-projects] [initscripts] [PATCH 09/21] functions: Simplify ck_depends() for statement
Kurt J. Bosch
kjb-temp-2009 at alpenjodel.de
Tue Jun 28 09:27:33 EDT 2011
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index e71ee1f..9d75fbf 100644
--- a/functions
+++ b/functions
@@ -211,7 +211,7 @@ start_daemon() {
# The only way to start a daemon at boot is to add it to the DAEMONS array.
ck_depends() {
local daemon
- for daemon in "$@"; do
+ for daemon; do
ck_daemon "$daemon" && start_daemon "$daemon"
done
}
--
1.7.1
More information about the arch-projects
mailing list