mirror of https://github.com/apache/nifi.git
NIFI-2199 NIFI-3112 Pipe stdout to /dev/null and allow stderr to propagate through.
Signed-off-by: Yolanda M. Davis <ymdavis@apache.org> This closes #1786
This commit is contained in:
parent
3f4b276b71
commit
58cf15a912
|
@ -300,7 +300,7 @@ run() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "start" ]; then
|
if [ "$1" = "start" ]; then
|
||||||
( eval "cd ${NIFI_HOME} && ${run_nifi_cmd}" & )
|
( eval "cd ${NIFI_HOME} && ${run_nifi_cmd}" & )> /dev/null 1>&-
|
||||||
else
|
else
|
||||||
eval "cd ${NIFI_HOME} && ${run_nifi_cmd}"
|
eval "cd ${NIFI_HOME} && ${run_nifi_cmd}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue