commit | 8e2d47dce288d5a60d8c67f537860a3683d36df6 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Thu Jan 17 14:46:09 2013 +0000 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Mon Feb 04 08:33:53 2013 -0800 |
tree | fcd6b21e17c41088910e536904e877685d52be70 | |
parent | 144e6ce1679a768e987230efb4afa402a5ab58ac [diff] |
iproute2: Normalize return codes in "ip netns" Ben Hutchings pointed out that the return value of do_netns is passed to exit and the current convention of returning -1 for failure is inconsitent with that reality. Return EXIT_FAILURE instead of -1 and EXIT_SUCCESS instead of 0. To make it clear that the return codes are expected to be passed to exit. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>