summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-systemd-enable
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-07-24 22:38:19 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-07-24 22:38:19 +0200
commit6b8d1d216c9c9d41268786d426954fc249546e38 (patch)
treebf88e4816fa9342c16ebdba15d08e318511f5bb5 /autoscripts/postinst-systemd-enable
parentd38528254a4e0823312073a8290b441e91300774 (diff)
downloadinit-system-helpers-6b8d1d216c9c9d41268786d426954fc249546e38.tar.gz
autoscripts: use --quiet for was-enabled
Diffstat (limited to 'autoscripts/postinst-systemd-enable')
-rw-r--r--autoscripts/postinst-systemd-enable2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-systemd-enable b/autoscripts/postinst-systemd-enable
index 859b7f4..b8f630a 100644
--- a/autoscripts/postinst-systemd-enable
+++ b/autoscripts/postinst-systemd-enable
@@ -1,5 +1,5 @@
# was-enabled defaults to true, so new installations run enable.
-if deb-systemd-helper was-enabled #UNITFILE#; then
+if deb-systemd-helper --quiet was-enabled #UNITFILE#; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable #UNITFILE# >/dev/null || true