diff options
Diffstat (limited to 'autoscripts/postinst-systemd-restart')
-rw-r--r-- | autoscripts/postinst-systemd-restart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postinst-systemd-restart b/autoscripts/postinst-systemd-restart index a619055f..048e9685 100644 --- a/autoscripts/postinst-systemd-restart +++ b/autoscripts/postinst-systemd-restart @@ -1,6 +1,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then - if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload >/dev/null || true + if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true if [ -n "$2" ]; then _dh_action=restart else |