mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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:
parent
94f93d7071
commit
e29f557515
@ -64,7 +64,7 @@ static int virLoginShellAllowedUser(virConfPtr conf,
|
|||||||
for (pp = p->list; pp; pp = pp->next) {
|
for (pp = p->list; pp; pp = pp->next) {
|
||||||
if (pp->type != VIR_CONF_STRING) {
|
if (pp->type != VIR_CONF_STRING) {
|
||||||
virReportSystemError(EINVAL, "%s",
|
virReportSystemError(EINVAL, "%s",
|
||||||
_("shell must be a list of strings"));
|
_("allowed_users must be a list of strings"));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user