From 7dfde208ca61a9d0a08e64cfa4bb704294d14012 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Mon, 24 Aug 2015 21:44:49 -0400 Subject: [PATCH] another small change on bootstrap --- .../main/java/org/apache/activemq/artemis/boot/Artemis.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artemis-boot/src/main/java/org/apache/activemq/artemis/boot/Artemis.java b/artemis-boot/src/main/java/org/apache/activemq/artemis/boot/Artemis.java index f6985dbf0e..4879761db3 100644 --- a/artemis-boot/src/main/java/org/apache/activemq/artemis/boot/Artemis.java +++ b/artemis-boot/src/main/java/org/apache/activemq/artemis/boot/Artemis.java @@ -47,8 +47,8 @@ public class Artemis { /** This is a good method for booting an embedded command */ - public static void execute(File artemisHome, File artemisInstance, List args) throws Throwable { - execute(artemisHome, artemisInstance, (String[]) args.toArray(new String[args.size()])); + public static Object execute(File artemisHome, File artemisInstance, List args) throws Throwable { + return execute(artemisHome, artemisInstance, (String[]) args.toArray(new String[args.size()])); } /** This is a good method for booting an embedded command */