mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 05:53:09 +00:00
Do not add zerotier-one user if it does not exist (Debian)
This commit is contained in:
parent
92e716d93d
commit
9001ab5858
4
debian/postinst
vendored
4
debian/postinst
vendored
@ -2,7 +2,9 @@
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one
|
||||
if ! id zerotier-one >>/dev/null 2>&1; then
|
||||
adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user