mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 23:04:26 +02:00
exit code 1 if parameters are wrong
for use in scripts, it's not convenient to get an exit code 0 on failure.
This commit is contained in:
parent
ecbcfb437e
commit
546577df6a
@ -54,6 +54,7 @@ public class Main {
|
|||||||
} catch (ParseException ex) {
|
} catch (ParseException ex) {
|
||||||
System.err.println(ex.getMessage());
|
System.err.println(ex.getMessage());
|
||||||
usage();
|
usage();
|
||||||
|
System.exit(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user