Skip to content
Snippets Groups Projects
Commit a3981eb9 authored by Stefan Hajnoczi's avatar Stefan Hajnoczi
Browse files

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: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
parent 212aefaa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment