commit | 6a91584a6dfef16d46f979d74e7c2f4105879230 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Jul 27 15:01:47 2016 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Jul 27 15:01:47 2016 -0700 |
tree | 7422e0c5133acb67a7aca1a594bd698096b2db3c | |
parent | 6ee1e9ed154294cfd6739f7ee8b7836a801be0f3 [diff] |
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>