From 64db87725f645483aec8ade365b520ea76343dfa Mon Sep 17 00:00:00 2001 From: David Personette Date: Fri, 20 Mar 2020 10:49:47 -0400 Subject: [PATCH] samba.sh fix #261 --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 1e5633e..3945d65 100755 --- a/samba.sh +++ b/samba.sh @@ -109,7 +109,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \ echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file echo " delete veto files = yes" >>$file - [[ ${users:-""} && ! ${users:-""} =~ all ]] && + [[ ${users:-""} && ! ${users:-""} == all ]] && echo " valid users = $(tr ',' ' ' <<< $users)" >>$file [[ ${admins:-""} && ! ${admins:-""} =~ none ]] && echo " admin users = $(tr ',' ' ' <<< $admins)" >>$file