Fixed issue where "N/A" was being printed directly to stdout instead of being captured in variables when du commands partially failed. Changed from: DATA_SIZE=$(du -sh ./data 2>/dev/null | cut -f1 || echo "N/A") To: DATA_SIZE=$(du -sh ./data 2>/dev/null | cut -f1) if [ -z "$DATA_SIZE" ]; then DATA_SIZE="N/A" fi This prevents spurious "N/A" lines appearing in the health check output. Fixed for: - DATA_SIZE (data directory size) - DB_SIZE (database directory size) - LOGS_SIZE (logs directory size) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7.5 KiB
Executable File
7.5 KiB
Executable File