diff options
author | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2023-02-13 17:18:10 +0100 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2023-08-09 09:40:19 +0000 |
commit | b36a27e5a64f5a484e196c29473d33ba46c03ee9 (patch) | |
tree | 367f118eddc012f1c9801a905999f10d8ab6596a | |
parent | 2fb8725d54846e58d8830e362df02dca504fc73b (diff) |
autoscripts/postinst-init-tmpfiles: do not output to /dev/null to not hide error messages
systemd-tmpfiles is silent if it succeeds and prints an error message to stdout
otherwise.
-rw-r--r-- | autoscripts/postinst-init-tmpfiles | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-tmpfiles b/autoscripts/postinst-init-tmpfiles index b9f71911..3a70d251 100644 --- a/autoscripts/postinst-init-tmpfiles +++ b/autoscripts/postinst-init-tmpfiles @@ -1,5 +1,5 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -x "$(command -v systemd-tmpfiles)" ]; then - systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create #TMPFILES# >/dev/null || true + systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create #TMPFILES# || true fi fi |