From 63feeb1b1d41e3c7b2675e2349ee8607500a04c1 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Tue, 5 Apr 2016 13:00:35 +0200 Subject: [PATCH] Repaired args in script usage --- lib/ctrl.lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ctrl.lib.sh b/lib/ctrl.lib.sh index 1f05abd..e3e8ff5 100644 --- a/lib/ctrl.lib.sh +++ b/lib/ctrl.lib.sh @@ -134,12 +134,12 @@ zaf_ctrl_generate_cfg() { fi cmd=$(zaf_ctrl_get_item_option $1 $i "Cmd") if [ -n "$cmd" ]; then - $(which echo) "UserParameter=$ikey,${ZAF_LIB_DIR}/preload.sh $lock$cmd $args"; + $(which echo) "UserParameter=$ikey,${ZAF_LIB_DIR}/preload.sh $lock$cmd"; continue fi cmd=$(zaf_ctrl_get_item_option $1 $i "Function") if [ -n "$cmd" ]; then - $(which echo) -E "UserParameter=$ikey,${ZAF_LIB_DIR}/preload.sh $lock$cmd $args"; + $(which echo) -E "UserParameter=$ikey,${ZAF_LIB_DIR}/preload.sh $lock$cmd"; continue; fi cmd=$(zaf_ctrl_get_item_option $1 $i "Script")