]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipaddrlabel.c
ip: fix exit code for addrlabel
authorStephen Hemminger <shemming@brocade.com>
Wed, 6 May 2015 16:55:07 +0000 (09:55 -0700)
committerStephen Hemminger <shemming@brocade.com>
Thu, 7 May 2015 15:11:30 +0000 (08:11 -0700)
commit906cafe3ff7a3e285e59f95e7b58c91610d5d16f
treefdf0627b9f1a3b55e17690216904e0721875cdef
parent076ae7089a4b4874a1aedd4c5f84bb889dcda34e
ip: fix exit code for addrlabel

The exit code for ip label was not correct.
The return from the command function is negated and turned into
the exit code on failure.
ip/ipaddrlabel.c