mirror of
https://github.com/revanced/smali.git
synced 2025-04-30 06:34:25 +02:00
Don't System.exit from baksmali.disassembleClass
This commit is contained in:
parent
65cb1628a0
commit
d0c0c84d66
@ -70,7 +70,7 @@ public class baksmali {
|
|||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
System.err.println("\n\nError occured while loading boot class path files. Aborting.");
|
System.err.println("\n\nError occured while loading boot class path files. Aborting.");
|
||||||
ex.printStackTrace(System.err);
|
ex.printStackTrace(System.err);
|
||||||
System.exit(1);
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ public class baksmali {
|
|||||||
if (!outputDirectoryFile.exists()) {
|
if (!outputDirectoryFile.exists()) {
|
||||||
if (!outputDirectoryFile.mkdirs()) {
|
if (!outputDirectoryFile.mkdirs()) {
|
||||||
System.err.println("Can't create the output directory " + options.outputDirectory);
|
System.err.println("Can't create the output directory " + options.outputDirectory);
|
||||||
System.exit(1);
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user