samba.sh remove the unset that shouldn't be needed any longer

This commit is contained in:
David Personette 2019-07-15 17:59:57 -04:00
parent 793b4f231a
commit 068cda52aa

View File

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