From 639cc19e4252cb08ff54de9d1963608ed9b44f93 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 25 Sep 2020 20:48:33 +0200 Subject: [PATCH] Appease shellcheck --- plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.sh b/plugin.sh index 3590d11..ca1ca0f 100755 --- a/plugin.sh +++ b/plugin.sh @@ -21,7 +21,7 @@ generate_secrets() { export DOCKER_HOST="ssh://$PLUGIN_USER@$PLUGIN_HOST:$PLUGIN_PORT" for SECRET in $(yq r "$PLUGIN_COMPOSE" 'secrets.*.name'); do - if ! docker secret ls | grep $SECRET; then + if ! docker secret ls | grep "$SECRET"; then eval "echo \"generating $SECRET\"" PW=$(