summaryrefslogtreecommitdiff
path: root/emulator
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-10-29 14:44:16 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-10-29 14:44:16 -0700
commitc139d529adc4e38d99afc352534ad7f199511027 (patch)
tree2040505a8f817ecf932023ff26200963f06715c8 /emulator
parentaef1dd1ba54904e4439c96021236b5e65429e2e2 (diff)
downloadbluez-c139d529adc4e38d99afc352534ad7f199511027.tar.gz
emulator: Ignore failures for device transports
Diffstat (limited to 'emulator')
-rw-r--r--emulator/main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/emulator/main.c b/emulator/main.c
index 125460d56..7edc57c01 100644
--- a/emulator/main.c
+++ b/emulator/main.c
@@ -57,17 +57,12 @@ int main(int argc, char *argv[])
mainloop_set_signal(&mask, signal_callback, NULL, NULL);
vhci = vhci_open(VHCI_TYPE_BREDR, 0x23);
- if (!vhci) {
+ if (!vhci)
fprintf(stderr, "Failed to open Virtual HCI device\n");
- return 1;
- }
server = server_open_unix("/tmp/bt-server-bredr", 0x42);
- if (!server) {
+ if (!server)
fprintf(stderr, "Failed to open server channel\n");
- vhci_close(vhci);
- return 1;
- }
return mainloop_run();
}