proceed if user exist

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-16 00:44:31 +05:30
parent faa80bdc5f
commit b171ae4b7d

4
debian/adduser.sh vendored
View file

@ -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..."
}