proceed if user exist
This commit is contained in:
parent
faa80bdc5f
commit
b171ae4b7d
1 changed files with 1 additions and 3 deletions
4
debian/adduser.sh
vendored
4
debian/adduser.sh
vendored
|
@ -7,7 +7,5 @@ user=gitlab
|
|||
echo "Creating/updating $user user account..."
|
||||
adduser --home /usr/share/$user --gecos "$user user" --shell /bin/sh \
|
||||
--quiet --disabled-password $user || {
|
||||
# adduser failed. Why?
|
||||
# unknown adduser error, simply exit
|
||||
exit 1
|
||||
echo "Proceeding with existing $user user..."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue