Fix shellcheck issues

This commit is contained in:
Darko Poljak 2019-04-09 22:44:40 +02:00
commit 671bb82a46
3 changed files with 13 additions and 9 deletions

View file

@ -69,6 +69,7 @@ while read -r key; do
set -- "$@" --key "$key"
set -- "$@" --state "$state"
if [ -f "$__object/parameter/option" ]; then
# shellcheck disable=SC2046
set -- "$@" $(printf -- '--option %s ' $(cat "$__object/parameter/option"))
fi
if [ -f "$__object/parameter/comment" ]; then