We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627307b commit 4e0f179Copy full SHA for 4e0f179
src/main/resources/linux/startup.sh.vtl
@@ -14,7 +14,7 @@ function showMessage() {
14
echo $1
15
fi
16
}
17
-if type -p java; then
+if type -p java > /dev/null; then
18
JAVA=java
19
elif [[ -n "$JAVA_HOME" ]] && [[ -x "$JAVA_HOME/bin/java" ]]; then
20
JAVA="$JAVA_HOME/bin/java"
0 commit comments