Fix launch.script to not exit prematurely

Use "return" instead of "exit" where possible, especially in
function definitions.

Also fixed the exit codes to match the LSB spec for some specific
conditions (fixes gh-3521).

Fixes gh-3199, fixes gh-3535
This commit is contained in:
Dave Syer
2015-08-26 17:54:20 +01:00
parent 67483bb73c
commit ff681adc5b
4 changed files with 28 additions and 23 deletions

View File

@@ -43,9 +43,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>false</executable>
</configuration>
</plugin>
</plugins>
</build>