docker: revert shellcheck fix (#6288)

pull/6291/head
ᴜɴᴋɴᴡᴏɴ 2020-08-28 11:43:14 +08:00 committed by GitHub
parent f6d672a3cd
commit 1a681ad022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 "$@"