mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 16:20:14 +01:00
shellcheck: fix warnings (#6274)
* Remove outdated files * Fix warnings
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user