dispvm: fix non-networked DispVM

The 'netvm-id.txt' will be empty in this case.
This commit is contained in:
Marek Marczykowski-Górecki 2014-01-16 15:48:24 +01:00
parent 849cfbf826
commit c57c5fc107

View File

@ -378,10 +378,6 @@ int get_netvm_id_from_name(const char *name)
close(fd);
netvm_id[n] = 0;
n = atoi(netvm_id);
if (n <= 0) {
fprintf(stderr, "bad netvm id\n");
exit(1);
}
return n;
}