RPM Init script bugfix, which might prevent startup
Removing dangerous set calls, which might not set back the current state, but something invalid which leads to stop the script when proceeding
This commit is contained in:
parent
a3071540d7
commit
0db2db612b
|
@ -50,7 +50,6 @@ if [ -n $USER ] && [ -z $ES_USER ] ; then
|
|||
fi
|
||||
|
||||
checkJava() {
|
||||
set +e
|
||||
if [ -x "$JAVA_HOME/bin/java" ]; then
|
||||
JAVA="$JAVA_HOME/bin/java"
|
||||
else
|
||||
|
@ -61,7 +60,6 @@ checkJava() {
|
|||
echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
|
||||
exit 1
|
||||
fi
|
||||
set -e
|
||||
}
|
||||
|
||||
start() {
|
||||
|
|
Loading…
Reference in New Issue