mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-06 19:32:49 +00:00
Use STD variable for journalctl commands
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user