Merge "exit instead of return if sideload file creation fails"

This commit is contained in:
Doug Zongker
2014-05-16 17:42:12 +00:00
committed by Gerrit Code Review
+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) {