Whine about 'allowed_users' having wrong format rather than 'shell'
---
tools/virt-login-shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virt-login-shell.c b/tools/virt-login-shell.c
index 96ca410..e8474a4 100644
--- a/tools/virt-login-shell.c
+++ b/tools/virt-login-shell.c
@@ -64,7 +64,7 @@ static int virLoginShellAllowedUser(virConfPtr conf,
for (pp = p->list; pp; pp = pp->next) {
if (pp->type != VIR_CONF_STRING) {
virReportSystemError(EINVAL, "%s",
- _("shell must be a list of strings"));
+ _("allowed_users must be a list of
strings"));
goto cleanup;
} else {
/*
--
2.8.3