Fix NPE in log() when used in a library

This commit is contained in:
Agaricus 2013-01-23 22:24:52 -08:00
parent 25cc65de41
commit b5b967b850

View File

@ -171,7 +171,7 @@ public class SpecialSource {
} }
public static void log(String message) { public static void log(String message) {
if (!options.has("quiet")) { if (options != null && !options.has("quiet")) {
System.out.println(message); System.out.println(message);
} }
} }