Name function after command: list_local_users
This commit is contained in:
parent
3e79d15495
commit
50430cf4ab
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ impl Admin {
|
|||
|
||||
match event {
|
||||
AdminCommand::ListLocalUsers => {
|
||||
match guard.users.get_local_users() {
|
||||
match guard.users.list_local_users() {
|
||||
Ok(users) => {
|
||||
let mut msg: String = format!("Found {} local user account(s):\n", users.len());
|
||||
msg += &users.join("\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue