commit | 2aa88f72012efbde1bcd9b35d5b4084d497ae488 | [log] [tgz] |
---|---|---|
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | Sun May 07 12:05:50 2017 +0100 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Tue May 09 14:46:51 2017 -0400 |
tree | fc045efa5a3d19afe726ca2a44b6f08344ea2d69 | |
parent | 658800ef3d505de6cf4e73576d1377a70b53e260 [diff] |
policycoreutils: fixfiles: usage errors are fatal The idea is to print a usage error, then terminate with EXIT_FAILURE. Don't print the usage error twice when run with no command. Don't try to check for bogus extra arguments _after_ performing a long-running operation... particularly if that operation terminates the script with EXIT_SUCCESS first. Signed-off-by: Alan Jenkins <alan.christopher.jenkins@gmail.com>