summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 943d6cf4..f7b1bfd0 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -325,7 +325,7 @@ static void configure_device(int dev_id)
if (dd < 0) {
error("Can't open device hci%d: %s (%d)",
dev_id, strerror(errno), errno);
- return;
+ exit(1);
}
memset(&dr, 0, sizeof(dr));