diff --git a/src/freedombone-adduser b/src/freedombone-adduser index 92898c79..70657e71 100755 --- a/src/freedombone-adduser +++ b/src/freedombone-adduser @@ -209,7 +209,7 @@ do if [[ $(function_exists add_user_${app_name}) == "1" ]]; then echo $"Adding user to ${app_name}" app_load_variables ${app_name} - retval=$(add_user_${app_name} "$ADD_USERNAME" "$NEW_USER_PASSWORD") + retval=$(add_user_${app_name} "$ADD_USERNAME" "$NEW_USER_PASSWORD" | tail -n 1) if [[ $retval != '0' ]]; then echo $"Failed with error code ${retval}" ${PROJECT_NAME}-rmuser $ADD_USERNAME --force