From 49ba4ef0f1155d0d7ca267664adda3aaeb98364b Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Mon, 27 Jun 2011 15:23:41 +0200 Subject: functions: Simplify ck_depends() for statement --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') 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 } -- cgit v1.2.3