rsanchez
2015-08-10 3e181c597c1088b7bfee445deaef514fcf198bfa
src/main/java/net/curisit/securis/License.java
....@@ -138,8 +138,8 @@
138138 * Checks that config file exists and contains mandatory parameters
139139 */
140140 private static void checkConfigFile() {
141
- if (Params.get(Params.KEYS.APPLICATION_CODE) == null) {
142
- LOG.error("Manadatory parameter {} is not set in config file", Params.KEYS.APPLICATION_CODE);
141
+ if (Params.get(Params.KEYS.LIC_TYPE_CODE) == null && Params.get(Params.KEYS.APPLICATION_CODE) == null) {
142
+ LOG.error("Manadatory parameter {} is not set in config file", Params.KEYS.LIC_TYPE_CODE);
143143 System.exit(-3);
144144 }
145145 if (Params.get(Params.KEYS.CUSTOMER_CODE) == null) {