diff --git a/misc/core.func b/misc/core.func index 6f50773b8..6fcda37d9 100644 --- a/misc/core.func +++ b/misc/core.func @@ -816,8 +816,6 @@ cleanup_lxc() { # Python pip if command -v pip &>/dev/null; then $STD pip cache purge || true; fi - # Python uv - if command -v uv &>/dev/null; then $STD uv cache clean || true; fi # Node.js npm if command -v npm &>/dev/null; then $STD npm cache clean --force || true; fi # Node.js yarn @@ -834,9 +832,7 @@ cleanup_lxc() { if command -v composer &>/dev/null; then $STD composer clear-cache || true; fi if command -v journalctl &>/dev/null; then - # Journal rotation may fail if systemd-journald not fully initialized yet - journalctl --rotate 2>/dev/null || true - journalctl --vacuum-time=10m 2>/dev/null || true + $STD journalctl --vacuum-time=10m || true fi msg_ok "Cleaned" }