JENA-2102: Fix init check
diff --git a/jena-cmds/src/main/java/org/apache/jena/cmd/Cmds.java b/jena-cmds/src/main/java/org/apache/jena/cmd/Cmds.java
index 5e206c1..04c0818 100644
--- a/jena-cmds/src/main/java/org/apache/jena/cmd/Cmds.java
+++ b/jena-cmds/src/main/java/org/apache/jena/cmd/Cmds.java
@@ -38,7 +38,7 @@
static void init() {
// Initialization should be minimal, just enough to allow modules to register commands.
// We may be inside some other place where JenaSystem.init() was called.
- if ( cmds != null )
+ if ( cmds == null )
cmds = new HashMap<>();
}