summaryrefslogtreecommitdiff
path: root/debian/ntp.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ntp.postinst')
-rw-r--r--debian/ntp.postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/ntp.postinst b/debian/ntp.postinst
index cfe8c62..3e46351 100644
--- a/debian/ntp.postinst
+++ b/debian/ntp.postinst
@@ -19,7 +19,8 @@ if dpkg-maintscript-helper supports mv_conffile; then
fi
if [ "$1" = "configure" ]; then
- adduser --system --quiet --group --no-create-home ntp || :
+ addgroup --system --quiet ntp
+ adduser --system --quiet --ingroup ntp --no-create-home ntp
chown -R ntp:ntp /var/lib/ntp /var/log/ntpstats
fi