diff --git a/lib/ctrl.lib.sh b/lib/ctrl.lib.sh index 0604ab9..e65d508 100644 --- a/lib/ctrl.lib.sh +++ b/lib/ctrl.lib.sh @@ -215,6 +215,8 @@ zaf_ctrl_generate_cfg() { done <$tmpfile else ikey="$2.$i" + zafparams="" + args="" fi env="export ITEM_KEY='$ikey'; export PATH=${ZAF_PLUGINS_DIR}/$2:$ZAF_LIB_DIR:\$PATH; cd ${ZAF_PLUGINS_DIR}/$2; . $ZAF_LIB_DIR/preload.sh; " lock=$(zaf_ctrl_get_item_option $1 $i "Lock")