tools: virt-login-shell: Fix cut'n'paste mistake in error message

Whine about 'allowed_users' having wrong format rather than 'shell'
This commit is contained in:
Peter Krempa 2016-06-17 15:12:02 +02:00
parent 94f93d7071
commit e29f557515

View 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 {
/*