wait_on_fifo(): don't pass -1 to close()

This is a fix after commit 8f55e28.

While at it, move close() to after unlink().

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