Removed check for user already existing

This commit is contained in:
Stephen Chin
2026-03-08 14:41:13 -07:00
committed by GitHub
parent 4931c39349
commit 69596eb7f3

View File

@@ -18,9 +18,7 @@ $STD apt install -y pass
msg_ok "Installed Dependencies"
msg_info "Creating Service User"
if ! id -u protonbridge >/dev/null 2>&1; then
useradd -r -m -d /home/protonbridge -s /usr/sbin/nologin protonbridge
fi
useradd -r -m -d /home/protonbridge -s /usr/sbin/nologin protonbridge
install -d -m 0750 -o protonbridge -g protonbridge /home/protonbridge
msg_ok "Created Service User"