mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 00:21:41 +00:00
remove no-longer neeeded check from lxcapi_attach_run_waitl
commit f436448445
introduced attach
functionality to unprivileged containers so remove this check like
the rest of the attach functions.
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
45e854dc86
commit
c4b9dc3bdd
@ -3037,11 +3037,6 @@ static int lxcapi_attach_run_waitl(struct lxc_container *c, lxc_attach_options_t
|
||||
if (!c)
|
||||
return -1;
|
||||
|
||||
if (am_unpriv()) {
|
||||
ERROR(NOT_SUPPORTED_ERROR, __FUNCTION__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
va_start(ap, arg);
|
||||
argv = lxc_va_arg_list_to_argv_const(ap, 1);
|
||||
va_end(ap);
|
||||
|
Loading…
Reference in New Issue
Block a user