summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-16 19:45:18 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-16 19:45:18 +0200
commitd1c64060abf8a56a259c0913244448fdba245f6c (patch)
tree66da0fd9d9ee1d796e6edac7e4cccebcb57203e4
parentam 3ca99f6c: Merge "fix vulnerability in bspatch" (diff)
parentMerge "exit instead of return if sideload file creation fails" (diff)
downloadandroid_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.tar
android_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.tar.gz
android_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.tar.bz2
android_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.tar.lz
android_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.tar.xz
android_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.tar.zst
android_bootable_recovery-d1c64060abf8a56a259c0913244448fdba245f6c.zip
-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) {