Skip to content

Commit 4e0f179

Browse files
committed
Update startup.sh.vtl
1 parent 627307b commit 4e0f179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/linux/startup.sh.vtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function showMessage() {
1414
echo $1
1515
fi
1616
}
17-
if type -p java; then
17+
if type -p java > /dev/null; then
1818
JAVA=java
1919
elif [[ -n "$JAVA_HOME" ]] && [[ -x "$JAVA_HOME/bin/java" ]]; then
2020
JAVA="$JAVA_HOME/bin/java"

0 commit comments

Comments
 (0)