aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-08-28 11:43:14 +0800
committerGitHub <noreply@github.com>2020-08-28 11:43:14 +0800
commit1a681ad022c57046a84f5e657623b9fd971d7b78 (patch)
tree9c52bf5ccb544914e9eab9162192c23816cd7976 /docker
parentf6d672a3cd9e800e8c330b603fe59398a218db25 (diff)
docker: revert shellcheck fix (#6288)
Diffstat (limited to 'docker')
-rw-r--r--docker/runtime/backup-rotator.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/runtime/backup-rotator.sh b/docker/runtime/backup-rotator.sh
index 7e882fc0..bee8660c 100644
--- a/docker/runtime/backup-rotator.sh
+++ b/docker/runtime/backup-rotator.sh
@@ -21,7 +21,8 @@ main() {
exit 1
fi
- find "${BACKUP_PATH}/" -type f -name "gogs-backup-*.zip" "-${FIND_EXPRESSION}" -print -exec rm "{}" +
+ # shellcheck disable=SC2086
+ find "${BACKUP_PATH}/" -type f -name "gogs-backup-*.zip" -${FIND_EXPRESSION} -print -exec rm "{}" +
}
main "$@"