revert: remove SYSTEMD_COLORS/SYSTEMD_PAGER from logs — no effect without TTY

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 19:25:56 +02:00
co-authored by Claude Sonnet 4.6
parent 5a6e209b6d
commit af6beaff1e
+2 -2
View File
@@ -517,7 +517,7 @@ EOF
;; ;;
logs) logs)
SYSTEMD_COLORS=1 SYSTEMD_PAGER=cat journalctl -u stacks-update.service "${@}" 2>/dev/null \ journalctl -u stacks-update.service "${@}" --no-pager 2>/dev/null \
|| warn "No update logs found (is the service installed?)" || warn "No update logs found (is the service installed?)"
;; ;;
@@ -674,7 +674,7 @@ EOF
;; ;;
logs) logs)
SYSTEMD_COLORS=1 SYSTEMD_PAGER=cat journalctl -u stacks-backup.service "${@}" 2>/dev/null \ journalctl -u stacks-backup.service "${@}" --no-pager 2>/dev/null \
|| warn "No backup logs found (is the service installed?)" || warn "No backup logs found (is the service installed?)"
;; ;;