From 068cda52aacc0c86c8dd6770bc5804e3dd163f90 Mon Sep 17 00:00:00 2001 From: David Personette Date: Mon, 15 Jul 2019 17:59:57 -0400 Subject: [PATCH] samba.sh remove the unset that shouldn't be needed any longer --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 0b59239..0065791 100755 --- a/samba.sh +++ b/samba.sh @@ -215,7 +215,7 @@ The 'command' (if provided and valid) will be run instead of samba 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 while getopts ":hc:g:i:nprs:Su:Ww:I:" opt; do