samba.sh remove the unset that shouldn't be needed any longer
This commit is contained in:
parent
793b4f231a
commit
068cda52aa
2
samba.sh
2
samba.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user