Handle bird error

This commit is contained in:
Alarig Le Lay 2019-02-04 11:16:06 +01:00
parent fd4ba3fc09
commit d967a242d7

View file

@ -100,6 +100,8 @@ if [ "$(cat ${DIR}/bird-err)" != '' ]; then
printf "ERROR: $(cat ${DIR}/bird-err)\n" printf "ERROR: $(cat ${DIR}/bird-err)\n"
rm -r ${DIR} rm -r ${DIR}
exit 2 exit 2
else
rm ${DIR}/bird-err
fi fi
for protocol in $(cat ${CONF_IGNORE_FILE}); do for protocol in $(cat ${CONF_IGNORE_FILE}); do