• Stephen Hemminger's avatar
    ip: fix exit code for rule failures · 076ae708
    Stephen Hemminger authored
    If ip rule command fails talking to kernel, exit code should be 2.
    The sub-command is called by cmd loop and the exit code is negative
    of return value from the command callback.
    076ae708
iprule.c 12.5 KB