mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-10 14:31:04 -04:00
Refactor argument handling a bit
This commit is contained in:
parent
7151227222
commit
6390eb2f3b
@ -28,7 +28,7 @@ public class ArgumentProcessor {
|
|||||||
runScript(args);
|
runScript(args);
|
||||||
|
|
||||||
// script finished successfully
|
// script finished successfully
|
||||||
log.finest("Done ヾ(@⌒ー⌒@)ノ" + System.lineSeparator());
|
log.finest("Done ヾ(@⌒ー⌒@)ノ");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
@ -42,7 +42,7 @@ public class ArgumentProcessor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// script failed with exception -> exit with non-zero exit code (and use positive code to avoid issues with launch4j launcher)
|
// script failed with exception -> exit with non-zero exit code (and use positive code to avoid issues with launch4j launcher)
|
||||||
log.finest("Failure (°_°)" + System.lineSeparator());
|
log.finest("Failure (°_°)");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user