bc0735fee7
Now we make an additional request on `api2/json/.../tasks/{upid}/status` to get the `exitstatus` of the task. This allows us to `bail` and thus get a non-zero exit code in the cli. Signed-off-by: Gabriel Goller <g.goller@proxmox.com>