Fix ListUsers don't use the correct var
This commit is contained in:
parent
67b67e117b
commit
049f47910f
|
@ -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')
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue