summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-16 19:42:12 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-16 19:42:12 +0200
commit5fbb729f3eb67c9bb59580f692a31e5c50e24e6d (patch)
tree576da095233de7528fd44cbcb850c8995a67f089 /minadbd
parentMerge "fix vulnerability in bspatch" (diff)
parentexit instead of return if sideload file creation fails (diff)
downloadandroid_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar
android_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.gz
android_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.bz2
android_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.lz
android_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.xz
android_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.zst
android_bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.zip
Diffstat (limited to 'minadbd')
-rw-r--r--minadbd/services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minadbd/services.c b/minadbd/services.c
index 4698528ef..752b33e82 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) {