mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
vl: Fix exit status for -drive format=help
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20181017082702.5581-35-armbru@redhat.com>
This commit is contained in:
parent
c4f26c9f37
commit
7c89fcbac8
1 changed files with 1 additions and 1 deletions
2
vl.c
2
vl.c
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue