Remove exit if useradd command fails

This would be the case if the user already exists
This commit is contained in:
Marcus Whybrow 2012-11-03 23:07:03 +00:00
parent 4a830b3c7a
commit 3e89a8a347

View File

@ -54,7 +54,7 @@ function install_dependencies() {
# Verifies existence of or adds user for Minecraft server (default "minecraft")
function add_minecraft_user() {
install_log "Creating default user '${msm_user}'"
sudo useradd ${msm_user} || install_error "Couldn't create server user"
sudo useradd ${msm_user}
}
# Verifies existence and permissions of msm server directory (default /opt/msm)