diff --git a/samba.sh b/samba.sh index f0ed66d..99e2db6 100755 --- a/samba.sh +++ b/samba.sh @@ -212,7 +212,7 @@ The 'command' (if provided and valid) will be run instead of samba } [[ "${USERID:-""}" =~ ^[0-9]+$ ]] && usermod -u $USERID -o smbuser -[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o users +[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o smbuser while getopts ":hc:g:i:nprs:St:u:Ww:" opt; do case "$opt" in