Skip to content

Commit 1ce56ca

Browse files
author
Vladimir Kotal
committed
use die()
1 parent 2247858 commit 1ce56ca

File tree

1 file changed

+1
-2
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/index

1 file changed

+1
-2
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/Indexer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,8 +791,7 @@ public static String[] parseOptions(String[] argv) throws ParseException {
791791

792792
private static void checkConfiguration() {
793793
if (repositories.size() > 0 && !cfg.isHistoryEnabled()) {
794-
System.out.println("Repositories were specified however history is off");
795-
System.exit(1);
794+
die("Repositories were specified however history is off");
796795
}
797796
}
798797

0 commit comments

Comments
 (0)