summaryrefslogtreecommitdiffstats
path: root/minadbd/services.c
diff options
context:
space:
mode:
authorEthan Yonker <ethanayonker@gmail.com>2013-01-09 17:35:51 +0100
committerEthan Yonker <ethanayonker@gmail.com>2013-01-09 17:35:51 +0100
commitf087dfb52cb9a3a33b85b922fdaadf0514b37e46 (patch)
tree701ce6e831bc291826b9b405c0448d9c41ca5a50 /minadbd/services.c
parentMerge "Pass the correct pointer to munmap on failure." (diff)
downloadandroid_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.tar
android_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.tar.gz
android_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.tar.bz2
android_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.tar.lz
android_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.tar.xz
android_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.tar.zst
android_bootable_recovery-f087dfb52cb9a3a33b85b922fdaadf0514b37e46.zip
Diffstat (limited to 'minadbd/services.c')
-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) {