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:
Aldrin Piri 2017-05-11 16:35:16 -04:00 committed by Yolanda M. Davis
parent 3f4b276b71
commit 58cf15a912
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ run() {
fi
if [ "$1" = "start" ]; then
( eval "cd ${NIFI_HOME} && ${run_nifi_cmd}" & )
( eval "cd ${NIFI_HOME} && ${run_nifi_cmd}" & )> /dev/null 1>&-
else
eval "cd ${NIFI_HOME} && ${run_nifi_cmd}"
fi