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() {
|
function ListUsers() {
|
||||||
local users=''
|
local users=''
|
||||||
for user in $(ls -d /Users/[a-zA-Z]*); do
|
for user in $(ls -d /Users/[a-zA-Z]*); do
|
||||||
user=$(basename "${users}")
|
user=$(basename "${user}")
|
||||||
case "${users}" in
|
case "${user}" in
|
||||||
'Shared'|'admin')
|
'Shared'|'admin')
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue