diff --git a/cmd/auth_reset.go b/cmd/auth_reset.go index f4f2663..4d786ce 100644 --- a/cmd/auth_reset.go +++ b/cmd/auth_reset.go @@ -109,6 +109,12 @@ only work on some locations. For example, the Operating System CLI. return } + if len(users) == 0 { + cmd.PrintErrln("No users configured.") + ExitWithError = true + return + } + fmt.Println("List of users:") listUsers(users)