Adding missing update

This commit is contained in:
Ashutosh Gupta 2022-07-11 14:39:41 +01:00
parent 15d9590aa3
commit 7854b910b4
1 changed files with 2 additions and 2 deletions

View File

@ -1768,7 +1768,7 @@ function hadoop_java_exec
export CLASSPATH
#shellcheck disable=SC2086
exec "${JAVA}" "-Dproc_${command}" ${HADOOP_OPTS} "${class}" "$@"
eval exec '"${JAVA}"' '"-Dproc_${command}"' ${HADOOP_OPTS} '"${class}"' '"$@"'
}
## @description Start a non-privileged daemon in the foreground.
@ -1805,7 +1805,7 @@ function hadoop_start_daemon
export CLASSPATH
#shellcheck disable=SC2086
exec "${JAVA}" "-Dproc_${command}" ${HADOOP_OPTS} "${class}" "$@"
eval exec '"${JAVA}"' '"-Dproc_${command}"' ${HADOOP_OPTS} '"${class}"' '"$@"'
}
## @description Start a non-privileged daemon in the background.