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:
S.Çağlar Onur 2014-01-20 23:43:35 -05:00 committed by Stéphane Graber
parent 45e854dc86
commit c4b9dc3bdd

View File

@ -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);