summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-sysusers
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-sysusers')
-rw-r--r--autoscripts/postinst-sysusers2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-sysusers b/autoscripts/postinst-sysusers
index ea472946..fdd27d6d 100644
--- a/autoscripts/postinst-sysusers
+++ b/autoscripts/postinst-sysusers
@@ -1,3 +1,3 @@
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
- systemd-sysusers --root="${DPKG_ROOT}/" #CONFILE_BASENAME#
+ systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} #CONFILE_BASENAME#
fi