Use STD variable for journalctl commands

This commit is contained in:
CanbiZ
2025-10-30 12:29:50 +01:00
committed by GitHub
parent e23d650f42
commit d59c6ef8af

View File

@@ -407,8 +407,8 @@ cleanup_lxc() {
if command -v composer &>/dev/null; then composer clear-cache || true; fi if command -v composer &>/dev/null; then composer clear-cache || true; fi
if command -v journalctl &>/dev/null; then if command -v journalctl &>/dev/null; then
journalctl --rotate $STD journalctl --rotate
journalctl --vacuum-time=10m $STD journalctl --vacuum-time=10m
fi fi
msg_ok "Cleaned" msg_ok "Cleaned"
} }