remove(tools,docker): stderr ignore making it hard to debug

This commit is contained in:
2026-02-22 21:06:47 +01:00
parent ce44dde2c6
commit 1f33854b27
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ if [ -f "$CONTROL_FILE" ]; then
fi
# Remove all SQL files (versioned and upgrade scripts)
SQL_FILES_COUNT=$(find "$EXTDIR" -name "${PROJECT_FILENAME}--*.sql" -type f 2>/dev/null | wc -l)
SQL_FILES_COUNT=$(find "$EXTDIR" -name "${PROJECT_FILENAME}--*.sql" -type f | wc -l)
if [ "$SQL_FILES_COUNT" -gt 0 ]; then
find "$EXTDIR" -name "${PROJECT_FILENAME}--*.sql" -type f -exec rm -f {} \;
echo "Removed: ${SQL_FILES_COUNT} SQL file(s)"