Skip to content

Commit

Permalink
Make creating user directory explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
lnguyen committed May 8, 2012
1 parent d4118ce commit cf311e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/internal/shell/user/functions
Expand Up @@ -172,7 +172,7 @@ __sm.user.add()
groupadd -f "$_group"
fi

useradd -s /bin/bash -d "${_home:-"/home/${_user}"}" -g "${_group}" "${_user}"
useradd -m -s /bin/bash -d "${_home:-"/home/${_user}"}" -g "${_group}" "${_user}"
;;

"Darwin")
Expand Down

0 comments on commit cf311e1

Please sign in to comment.