summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-08-26 19:17:54 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-29 10:46:57 +0100
commita3981eb978b76e75aca3d04f6c6e26de8322001b (patch)
treed180dcaccd6945d42f34cba63746f8ebbec2a355 /hmp-commands.hx
parent212aefaa53d142baa9a22f5aadd2e72eb916c0c0 (diff)
downloadhqemu-a3981eb978b76e75aca3d04f6c6e26de8322001b.zip
hqemu-a3981eb978b76e75aca3d04f6c6e26de8322001b.tar.gz
qemu-img: fix img_commit() error return value
The img_commit() return value is a process exit code. Use 1 for failure instead of -1. The other failure paths in this function already use 1. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud