adessoSE / jekyll2cms

Tool for exporting github repo to a CMS
https://www.adesso.de
MIT License
3 stars 3 forks source link

Exit Code should be "1" on error instead of "0" #63

Closed thombergs closed 7 years ago

thombergs commented 7 years ago

The exit code in the following code snippet should be "1" and not "0", since "0" means everything is good, which it isn't :).

@Override
public void run(ApplicationArguments args) throws Exception {
    if (!initService.init()) {
        System.exit(0);
    }
}