mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 18:56:26 +00:00
start: s/||/&&/ when mapping ids
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
6efacf80e8
commit
df3c5314d2
@ -1559,7 +1559,7 @@ static int lxc_spawn(struct lxc_handler *handler)
|
||||
* again.
|
||||
*/
|
||||
if (wants_to_map_ids) {
|
||||
if (!handler->conf->ns_share[LXC_NS_USER] ||
|
||||
if (!handler->conf->ns_share[LXC_NS_USER] &&
|
||||
(handler->conf->ns_keep & CLONE_NEWUSER) == 0) {
|
||||
ret = lxc_map_ids(id_map, handler->pid);
|
||||
if (ret < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user