Skip to content

Commit

Permalink
Don't System.exit from baksmali.disassembleClass
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusFreke committed Dec 9, 2013
1 parent 65cb162 commit d0c0c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baksmali/src/main/java/org/jf/baksmali/baksmali.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static boolean disassembleDexFile(DexFile dexFile, final baksmaliOptions
} catch (Exception ex) {
System.err.println("\n\nError occured while loading boot class path files. Aborting.");
ex.printStackTrace(System.err);
System.exit(1);
return false;
}
}

Expand Down Expand Up @@ -119,7 +119,7 @@ public void startElement(String uri, String localName,
if (!outputDirectoryFile.exists()) {
if (!outputDirectoryFile.mkdirs()) {
System.err.println("Can't create the output directory " + options.outputDirectory);
System.exit(1);
return false;
}
}

Expand Down

0 comments on commit d0c0c84

Please sign in to comment.