am 5fbb729f: Merge "exit instead of return if sideload file creation fails"

* commit '5fbb729f3eb67c9bb59580f692a31e5c50e24e6d':
  exit instead of return if sideload file creation fails
This commit is contained in:
Doug Zongker
2014-05-16 17:45:18 +00:00
committed by Android Git Automerger
+1 -1
View File
@@ -55,7 +55,7 @@ static void sideload_service(int s, void *cookie)
if(fd < 0) { if(fd < 0) {
fprintf(stderr, "failed to create %s\n", ADB_SIDELOAD_FILENAME); fprintf(stderr, "failed to create %s\n", ADB_SIDELOAD_FILENAME);
adb_close(s); adb_close(s);
return; exit(1);
} }
while(count > 0) { while(count > 0) {