diff options
author | Doug Zongker <dougz@android.com> | 2014-05-16 19:42:12 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-16 19:42:12 +0200 |
commit | 5fbb729f3eb67c9bb59580f692a31e5c50e24e6d (patch) | |
tree | 576da095233de7528fd44cbcb850c8995a67f089 /minadbd | |
parent | Merge "fix vulnerability in bspatch" (diff) | |
parent | exit instead of return if sideload file creation fails (diff) | |
download | android_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.c | 2 |
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) { |