Fix ListUsers don't use the correct var

This commit is contained in:
Jeremy Gardais 2018-04-26 11:43:03 +02:00
parent 67b67e117b
commit 049f47910f
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ function MyFqdn() {
function ListUsers() {
local users=''
for user in $(ls -d /Users/[a-zA-Z]*); do
user=$(basename "${users}")
case "${users}" in
user=$(basename "${user}")
case "${user}" in
'Shared'|'admin')
;;
*)