Return special exit code if license is expired.

This commit is contained in:
Reinhard Pointner 2018-06-19 01:50:39 +07:00
parent 0163d4ffd9
commit a3fe08978e
1 changed files with 4 additions and 4 deletions

View File

@ -49,11 +49,11 @@ public class ArgumentProcessor {
} else {
log.log(Level.SEVERE, e.getMessage(), e);
}
}
// script failed with exception -> exit with non-zero exit code (and use positive code to avoid issues with launch4j launcher)
log.finest("Failure (°_°)");
return 1;
// script failed with exception -> exit with non-zero exit code (and use positive code to avoid issues with launch4j launcher)
log.finest("Failure (°_°)");
return 1;
}
}
public int runCommand(CmdlineInterface cli, ArgumentBean args) throws Exception {