diff --git a/scripts/post_install/auto_post_install.sh b/scripts/post_install/auto_post_install.sh index eb7166c..2b5063c 100644 --- a/scripts/post_install/auto_post_install.sh +++ b/scripts/post_install/auto_post_install.sh @@ -964,26 +964,26 @@ EOF [ "$KEEP_MB" -lt 8 ] && KEEP_MB=8 - sed -i '/^\[Journal\]/,$d' /etc/systemd/journald.conf 2>/dev/null || true - tee -a /etc/systemd/journald.conf >/dev/null </dev/null || true +tee -a /etc/systemd/journald.conf >/dev/null </dev/null 2>&1 || true msg_ok "$(translate "Backup created:") /etc/systemd/journald.conf.bak.$(date +%Y%m%d-%H%M%S)"