aboutsummaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-05-16 17:42:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-16 17:42:12 +0000
commit5fbb729f3eb67c9bb59580f692a31e5c50e24e6d (patch)
tree576da095233de7528fd44cbcb850c8995a67f089 /minadbd
parent3ca99f6cb8ffbe19c7ef5409f3dac18ea0c254bd (diff)
parentf087dfb52cb9a3a33b85b922fdaadf0514b37e46 (diff)
downloadbootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.zip
bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.gz
bootable_recovery-5fbb729f3eb67c9bb59580f692a31e5c50e24e6d.tar.bz2
Merge "exit instead of return if sideload file creation fails"
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 4698528..752b33e 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) {