summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-16 19:48:04 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-16 19:48:04 +0200
commit502e45957420484eec2367e7580e9bec96605c5d (patch)
tree66da0fd9d9ee1d796e6edac7e4cccebcb57203e4 /minadbd
parentam d4592694: am 3ca99f6c: Merge "fix vulnerability in bspatch" (diff)
parentam 5fbb729f: Merge "exit instead of return if sideload file creation fails" (diff)
downloadandroid_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.tar
android_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.tar.gz
android_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.tar.bz2
android_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.tar.lz
android_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.tar.xz
android_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.tar.zst
android_bootable_recovery-502e45957420484eec2367e7580e9bec96605c5d.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) {