mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
small CLI CREATE fix
This commit is contained in:
parent
8446bce8e9
commit
6fea6ca66e
@ -121,7 +121,7 @@ public class Create implements Action
|
||||
this.context = context;
|
||||
scanner = new Scanner(System.in);
|
||||
IS_WINDOWS = System.getProperty("os.name").toLowerCase().trim().startsWith("win");
|
||||
IS_CYGWIN = IS_WINDOWS && System.getenv("OSTYPE") == "cygwin";
|
||||
IS_CYGWIN = IS_WINDOWS && "cygwin".equals(System.getenv("OSTYPE"));
|
||||
|
||||
context.out.println(String.format("Creating ActiveMQ Artemis instance at: %s", directory.getCanonicalPath()));
|
||||
if (host == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user