Skip to content

Commit ff0ce30

Browse files
committed
updated pingdom_foreach_check.sh
1 parent 7d58f5c commit ff0ce30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pingdom/pingdom_foreach_check.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,7 @@ while read -r check_id check_name; do
6464
cmd=("${cmd[@]//\{check_name\}/$check_name}")
6565
cmd=("${cmd[@]//\{id\}/$check_id}")
6666
cmd=("${cmd[@]//\{name\}/$check_name}")
67-
"${cmd[@]}"
67+
# need eval'ing to able to inline quoted script
68+
# shellcheck disable=SC2294
69+
eval "${cmd[@]}"
6870
done

0 commit comments

Comments
 (0)