small CLI CREATE fix

This commit is contained in:
Andy Taylor 2015-05-06 11:04:02 +01:00
parent 8446bce8e9
commit 6fea6ca66e
1 changed files with 1 additions and 1 deletions

View File

@ -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)