commit | d3a8fc4c03ea1bbe1a5da70e4d0bc164ce1c38b0 | [log] [tgz] |
---|---|---|
author | Petr Lautrbach <plautrba@redhat.com> | Tue Sep 24 21:08:53 2019 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Thu Sep 26 08:31:33 2019 -0400 |
tree | dd908d90da811e18ae32ed087dacb29e47206c37 | |
parent | 152aeb152fc956fec33378384069b497ceabda05 [diff] |
policycoreutils/fixfiles: Fix [-B] [-F] onboot Commit 6e289bb7bf3d ("policycoreutils: fixfiles: remove bad modes of "relabel" command") added "$RESTORE_MODE" != DEFAULT test when onboot is used. It makes `fixfiles -B onboot` to show usage instead of updating /.autorelabel The code is restructured to handle -B for different modes correctly. Fixes: # fixfiles -B onboot Usage: /usr/sbin/fixfiles [-v] [-F] [-f] relabel ... Signed-off-by: Petr Lautrbach <plautrba@redhat.com>