2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-23 19:52:10 +00:00

Suppress spurious error output

Have the process start cleaner in EL8 deployments
This commit is contained in:
Jarrod Johnson 2020-07-01 10:43:24 -04:00
parent b372a15c33
commit 3fdcecb8c6

View File

@ -5,6 +5,7 @@ TRIES=0
oum=$(umask)
umask 0077
mkdir -p /etc/confluent
touch /etc/confluent/confluent.info
umask $oum
cd /sys/class/net
while ! grep ^EXTMGRINFO: /etc/confluent/confluent.info | awk -F'|' '{print $3}' | grep 1 >& /dev/null && [ "$TRIES" -lt 60 ]; do