From 9dec0971d62483422f2bdcb970bf68a0a49213fd Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 27 Aug 2015 07:30:00 +0100 Subject: [PATCH] Change restart to fail if not running --- .../org/springframework/boot/loader/tools/launch.script | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script index 199f7735be..3fbea751d5 100755 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script @@ -152,8 +152,7 @@ stop() { } restart() { - stop - start + stop && start } status() {