]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tools: virt-login-shell: Fix cut'n'paste mistake in error message
authorPeter Krempa <pkrempa@redhat.com>
Fri, 17 Jun 2016 13:12:02 +0000 (15:12 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 20 Jun 2016 14:51:10 +0000 (16:51 +0200)
Whine about 'allowed_users' having wrong format rather than 'shell'

tools/virt-login-shell.c

index 96ca410b5403ff7dc141fe84c1043867b8577b63..e8474a43232e91aff00ca27ec07642d7a1c9b120 100644 (file)
@@ -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 {
                 /*