commit | d56e53f138332a7d44ea80c8777759f6b76de25a | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Jul 06 15:42:01 2010 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Jul 06 15:43:30 2010 +0400 |
tree | a0fcbe2d992708562fcdcddbd1fbfa0de9b6343a | |
parent | 0ba0e1eb1f39f698d67c52c394abe243d4b9eb23 [diff] |
vz_env_create(): proper check for read() return value read() can return 0, positive or negative value. We need to check for a positive value here, not for non-zero. Signed-off-by: Kir Kolyshkin <kir@openvz.org>