From 92c5f94fe7fae17620ecb8895e287e9e66fb135c Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sun, 23 Aug 2020 15:17:54 +0800 Subject: shellcheck: fix warnings (#6274) * Remove outdated files * Fix warnings --- docker/runtime/backup-rotator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/runtime/backup-rotator.sh') diff --git a/docker/runtime/backup-rotator.sh b/docker/runtime/backup-rotator.sh index 51665f57..7e882fc0 100644 --- a/docker/runtime/backup-rotator.sh +++ b/docker/runtime/backup-rotator.sh @@ -21,7 +21,7 @@ main() { exit 1 fi - find "${BACKUP_PATH}/" -type f -name "gogs-backup-*.zip" -${FIND_EXPRESSION} -print -exec rm "{}" + + find "${BACKUP_PATH}/" -type f -name "gogs-backup-*.zip" "-${FIND_EXPRESSION}" -print -exec rm "{}" + } main "$@" -- cgit v1.2.3