Permalink
Browse files

Make creating user directory explicit

  • Loading branch information...
1 parent d4118ce commit cf311e12df2e951e90a5cc1564f7d5ce7b08612d @lnguyen lnguyen committed May 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/internal/shell/user/functions
@@ -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")

0 comments on commit cf311e1

Please sign in to comment.