From 4a8746e85334eb2114ceffad0910e93926fe2948 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 9 Nov 2023 09:02:19 +0100 Subject: [PATCH] ci: fix linter errors: cron-tasks.sh --- scripts/cron-tasks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cron-tasks.sh b/scripts/cron-tasks.sh index aaf188a..de4614a 100755 --- a/scripts/cron-tasks.sh +++ b/scripts/cron-tasks.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -e -[[ ! -z "$DEBUG" ]] && set -x +[[ -n "$DEBUG" ]] && set -x source /nextcloud-exec.sh @@ -24,7 +24,7 @@ run_scripts_in_dir() { find . -type f -name '*.sh' -print0 | while IFS= read -r -d '' file; do echo "> Running Script: $file" - nextcloud_exec "$containerId" "$(cat $file)" || continue + nextcloud_exec "$containerId" "$(cat "$file")" || continue done }