From 7411425d54ce51497b8141123ba8c60e23c990f8 Mon Sep 17 00:00:00 2001 From: David Personette Date: Mon, 23 Oct 2017 07:49:51 -0400 Subject: [PATCH] samba.sh fix #79 --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 7c55553..0c18fd7 100755 --- a/samba.sh +++ b/samba.sh @@ -193,7 +193,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 smbuser +[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o users while getopts ":hc:g:i:nprs:Su:Ww:" opt; do case "$opt" in