[arch-projects] [initscripts] [PATCH 08/18] Simplify ck_depends() for statement

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Mon Jun 27 13:11:14 EDT 2011


---
 functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/functions b/functions
index 0776ae4..5ea732e 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