Skip to content

Commit

Permalink
Merge pull request #1149 from pedroflor/patch-2
Browse files Browse the repository at this point in the history
Update adduser.sh
  • Loading branch information
ddpbsd authored Jun 28, 2017
2 parents 1c4e812 + 727122e commit 44125b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/adduser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ else

for U in ${USER} ${USER_MAIL} ${USER_REM}; do
if ! grep "^${U}" /etc/passwd > /dev/null 2>&1; then
if [ "$UNAME" = "OpenBSD" ]; then
if [ "$UNAME" = "OpenBSD" ] || [ "$UNAME" = "SunOS" ]; then
${USERADD} -d "${DIR}" -s ${OSMYSHELL} -g "${GROUP}" "${U}"
else
${USERADD} "${U}" -d "${DIR}" -s ${OSMYSHELL} -g "${GROUP}"
Expand Down

0 comments on commit 44125b6

Please sign in to comment.