samba.sh fix #79

This commit is contained in:
David Personette 2017-10-23 07:49:51 -04:00
parent d42d897ca7
commit 7411425d54

View File

@ -193,7 +193,7 @@ The 'command' (if provided and valid) will be run instead of samba
} }
[[ "${USERID:-""}" =~ ^[0-9]+$ ]] && usermod -u $USERID -o smbuser [[ "${USERID:-""}" =~ ^[0-9]+$ ]] && usermod -u $USERID -o smbuser
[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o smbuser [[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o users
while getopts ":hc:g:i:nprs:Su:Ww:" opt; do while getopts ":hc:g:i:nprs:Su:Ww:" opt; do
case "$opt" in case "$opt" in