提交 7b8275a3 编写于 作者: U Ufuk Celebi

[FLINK-3559] [dist] Don't print INFO if no active process

This closes #1751.
上级 c8f81ba3
......@@ -94,7 +94,10 @@ case $STARTSTOP in
done < "${pid}"
count="${#active[@]}"
echo "[INFO] $count instance(s) of $DAEMON are already running on $HOSTNAME."
if [ ${count} -gt 0 ]; then
echo "[INFO] $count instance(s) of $DAEMON are already running on $HOSTNAME."
fi
fi
echo "Starting $DAEMON daemon on host $HOSTNAME."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册