aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-16 00:02:58 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-16 00:02:58 +0000
commit4e463d8d508d93756b9684ae030b5c412f7ea891 (patch)
tree5996fe3138d3e3d7b0960c01bec86e21566b35b3 /vl.c
parent94fe4f9fa316d3710ce4bb2c5cdd226fa81e8eae (diff)
tun-fd option fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@667 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 8472f0a230..f358dbed8c 100644
--- a/vl.c
+++ b/vl.c
@@ -980,6 +980,8 @@ int main(int argc, char **argv)
} else if (*p != '\0') {
fprintf(stderr, "qemu: invalid fd for network interface %d\n", nb_nics);
exit(1);
+ } else {
+ break;
}
}
}