Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 508496
Collapse All | Expand All

(-)a/src/lxc/lxc_driver.c (-3 / +1 lines)
Lines 1475-1482 static int lxcCheckNetNsSupport(void) Link Here
1475
    const char *argv[] = {"ip", "link", "set", "lo", "netns", "-1", NULL};
1475
    const char *argv[] = {"ip", "link", "set", "lo", "netns", "-1", NULL};
1476
    int ip_rc;
1476
    int ip_rc;
1477
1477
1478
    if (virRun(argv, &ip_rc) < 0 ||
1478
    if (virRun(argv, &ip_rc) < 0 || ip_rc == 255)
1479
        !(WIFEXITED(ip_rc) && (WEXITSTATUS(ip_rc) != 255)))
1480
        return 0;
1479
        return 0;
1481
1480
1482
    if (lxcContainerAvailable(LXC_CONTAINER_FEATURE_NET) < 0)
1481
    if (lxcContainerAvailable(LXC_CONTAINER_FEATURE_NET) < 0)
1483
- 

Return to bug 508496