commit | f499b02feb48803a094340b2cba6030f8ed163ad | [log] [tgz] |
---|---|---|
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | Sun May 07 12:05:51 2017 +0100 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Tue May 09 14:47:11 2017 -0400 |
tree | 70c336926b630288581dfb76c351562bcf7144d8 | |
parent | 2aa88f72012efbde1bcd9b35d5b4084d497ae488 [diff] |
policycoreutils: fixfiles: if restorecon aborts, we should too New users may try something like `fixfiles restore -v /dir/file` - not realizing they are required to use `fixfiles -v restore /dir/file`. Detect that `restorecon` aborts due to being run on the non-existent file `-v`, and stop immediately. This will show the error much more clearly, instead of continuing to restore `/dir/file` *without* verbose messages. Signed-off-by: Alan Jenkins <alan.christopher.jenkins@gmail.com>