Handle bird error

This commit is contained in:
Alarig Le Lay 2019-02-04 11:16:06 +01:00
parent fd4ba3fc09
commit d967a242d7
1 changed files with 2 additions and 0 deletions

View File

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