aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 4efa2d08d4..812ceba425 100644
--- 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,