• Stephen Hemminger's avatar
    ip: return correct exit code on route failure · d58ba4ba
    Stephen Hemminger authored
    If kernel complains about ip route request, exit status should be
    2 not 1.
    
    This fixes regression introduced by:
    commit 42ecedd4
    Author: Roopa Prabhu <roopa@cumulusnetworks.com>
    Date:   Tue Mar 17 19:26:32 2015 -0700
    
        fix ip -force -batch to continue on errors
    d58ba4ba
iproute.c 48 KB