[libvirt] [PATCH v3 2/4] tools: virt-login-shell: Fix cut'n'paste mistake in error message

Peter Krempa pkrempa at redhat.com
Fri Jun 17 13:44:10 UTC 2016


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




More information about the libvir-list mailing list