qemu-img convert: Fix progress output
commit64bb01aa35a24bea7ad0a1a8713991bab5020d12
authorKevin Wolf <kwolf@redhat.com>
Mon, 3 Mar 2014 13:54:07 +0000 (3 14:54 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 5 Mar 2014 14:58:32 +0000 (5 15:58 +0100)
tree429139b70a6b42005eb6fd721e07488da82d258d
parentb1f7d84fd2197337c0e71701b0c04174be98df77
qemu-img convert: Fix progress output

Initialise progress output only when the -p and -q options have already
been parsed, otherwise it's always disabled.

Reported-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qemu-img.c