Commit 4e463d8d508d93756b9684ae030b5c412f7ea891

Authored by bellard
1 parent 94fe4f9f

tun-fd option fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@667 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
... ... @@ -980,6 +980,8 @@ int main(int argc, char **argv)
980 980 } else if (*p != '\0') {
981 981 fprintf(stderr, "qemu: invalid fd for network interface %d\n", nb_nics);
982 982 exit(1);
  983 + } else {
  984 + break;
983 985 }
984 986 }
985 987 }
... ...