mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-06 11:22: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 journalctl &>/dev/null; then
|
||||
journalctl --rotate
|
||||
journalctl --vacuum-time=10m
|
||||
$STD journalctl --rotate
|
||||
$STD journalctl --vacuum-time=10m
|
||||
fi
|
||||
msg_ok "Cleaned"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user