commit | a05f6511f5432257a5efdd8b369735228c167e94 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Fri Jul 12 08:43:23 2013 -0700 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Fri Jul 12 08:43:23 2013 -0700 |
tree | ccce33f490706fe5f878878f317197a7bbf3aaf4 | |
parent | 1284fd3a81ee1e0c1b858292f030b0e53063bda0 [diff] |
netns: follow return value conventions of the rest of the code The netns code was using EXIT_SUCCESS/EXIT_FAILURE but the rest of the ip code used -1 explictly, so change to follow convention. Also, certain types of errors like fork failure should abort a batch operation, rather than just returning an error.