diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-10-29 14:44:16 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-10-29 14:44:16 -0700 |
commit | c139d529adc4e38d99afc352534ad7f199511027 (patch) | |
tree | 2040505a8f817ecf932023ff26200963f06715c8 /emulator | |
parent | aef1dd1ba54904e4439c96021236b5e65429e2e2 (diff) | |
download | bluez-c139d529adc4e38d99afc352534ad7f199511027.tar.gz |
emulator: Ignore failures for device transports
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/main.c | 9 |
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(); } |