Bird-1.6: failed configure check and exit status 0
    fatal 
    fatal at mailbox.org
       
    Mon Jan 22 12:11:43 CET 2018
    
    
  
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
    
    
More information about the Bird-users
mailing list