Skip to content

Commit

Permalink
Remove exit if useradd command fails
Browse files Browse the repository at this point in the history
This would be the case if the user already exists
  • Loading branch information
Marcus Whybrow committed Nov 3, 2012
1 parent 4a830b3 commit 3e89a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installers/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e89a8a

Please sign in to comment.