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:
Alexander Reelsen 2013-08-06 16:19:53 +02:00
parent a3071540d7
commit 0db2db612b
1 changed files with 0 additions and 2 deletions

View File

@ -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() {