print_json_cap: fix for "off" caps

If a capability is set to off, op is set to 2, but "true" is printed
because of the incorrect comparison. So, for every capability
that was set to either "on" or "off", "true" was always printed.

Fix for commit bac2426.

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