projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f26c9
)
vl: Fix exit status for -drive format=help
author
Markus Armbruster
<armbru@redhat.com>
Wed, 17 Oct 2018 08:26:58 +0000
(10:26 +0200)
committer
Markus Armbruster
<armbru@redhat.com>
Fri, 19 Oct 2018 12:51:34 +0000
(14:51 +0200)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <
20181017082702
.5581-35-armbru@redhat.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index 4efa2d08d4862fd5d5bcf53172488c42d197a46d..812ceba4255d238bb2d272daec24981a242b151d 100644
(file)
--- a/
vl.c
+++ b/
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,