Signed-off-by: Christian Seiler <christ...@iwakd.de>
---
 src/lxc/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lxc/utils.c b/src/lxc/utils.c
index be1ce88..cf42c38 100644
--- a/src/lxc/utils.c
+++ b/src/lxc/utils.c
@@ -255,7 +255,7 @@ int wait_for_pid(pid_t pid)
 again:
        ret = waitpid(pid, &status, 0);
        if (ret == -1) {
-               if (errno == -EINTR)
+               if (errno == EINTR)
                        goto again;
                return -1;
        }
-- 
1.7.8.6


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to