summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--minadbd/services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minadbd/services.c b/minadbd/services.c
index aef37f7e4..6b5e3b9a4 100644
--- a/minadbd/services.c
+++ b/minadbd/services.c
@@ -55,7 +55,7 @@ static void sideload_service(int s, void *cookie)
if(fd < 0) {
fprintf(stderr, "failed to create %s\n", ADB_SIDELOAD_FILENAME);
adb_close(s);
- return;
+ exit(1);
}
while(count > 0) {