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