show_status(): refactor

Instead of using if statements, just assign a result of condition
to a variable. While at it, fix using stat_file() by explicitly checking
for 1.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed