commit | 0e0890a4038a261a4d3095288494721b56d3b80a | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue May 28 22:33:11 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue May 28 22:33:11 2013 -0700 |
tree | fcca8a5449f60e07c9bba5cf6a0bbea27ae20ec1 | |
parent | 134e62b1388e2f259a8d1ce5ff0834f5322017d5 [diff] |
stat_file(): fix usage stat_file() does not return a boolean, instead it can be 0, 1 or -1. So we need to explicitly check for 1 in most of the cases. Fix all cases in which we treated stat_file() return as boolean. Signed-off-by: Kir Kolyshkin <kir@openvz.org>