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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]