diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-10-17 10:26:58 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-10-19 14:51:34 +0200 |
commit | 7c89fcbac865bed392bd645de3bf97f88b869318 (patch) | |
tree | f898efa7041d51d9cb1e283ea252bcd6a38caa4f /vl.c | |
parent | c4f26c9f37ce511e5fe629c21c180dc6eb7c5a25 (diff) |
vl: Fix exit status for -drive format=help
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20181017082702.5581-35-armbru@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4398,7 +4398,7 @@ int main(int argc, char **argv, char **envp) if (qemu_opts_foreach(qemu_find_opts("drive"), drive_init_func, &machine_class->block_default_type, &error_fatal)) { /* We printed help */ - exit(1); + exit(0); } default_drive(default_cdrom, snapshot, machine_class->block_default_type, 2, |