aboutsummaryrefslogtreecommitdiff
path: root/docker/runtime/backup-rotator.sh
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-08-23 15:17:54 +0800
committerGitHub <noreply@github.com>2020-08-23 15:17:54 +0800
commit92c5f94fe7fae17620ecb8895e287e9e66fb135c (patch)
tree71accea059544297cdeddc2bed2b6017729f1609 /docker/runtime/backup-rotator.sh
parenta840ae90352f932d2b77cdbc0c78078b18a469c6 (diff)
shellcheck: fix warnings (#6274)
* Remove outdated files * Fix warnings
Diffstat (limited to 'docker/runtime/backup-rotator.sh')
-rw-r--r--docker/runtime/backup-rotator.sh2
1 files changed, 1 insertions, 1 deletions
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 "$@"