Dear Piotr, perfect! T hanks for such a quick reply!
Regards Sam On 22.01.2018 11:45, Piotr Wydrych wrote: > Sam, > > On 22.01.2018 11:39, fatal wrote: >> I can build my playbook around this with grepping for "Configuration OK" >> in the output[1], but it would be nice to habe bird return a non zero >> value if the config check fails. > > Use bird -p for that: > > # bird -p -c /etc/bird/bird.conf; echo $? > 0 > # bird -p -c /etc/profile; echo $? > bird: /etc/profile, line 4: syntax error > 1 > > Best, > Piotr