mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-30 09:22:38 +00:00
policycoreutils/fixfiles: Fix "verify" option
"restorecon -n" (used in the "restore" function) has to be used with "-v" to display the files whose labels would be changed. Fixes: Fixfiles verify does not report misslabelled files unless "-v" option is used. Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
This commit is contained in:
parent
68b2e4416e
commit
152aeb152f
@ -302,7 +302,7 @@ process() {
|
||||
case "$1" in
|
||||
restore) restore Relabel;;
|
||||
check) VERBOSE="-v"; restore Check -n;;
|
||||
verify) restore Verify -n;;
|
||||
verify) VERBOSE="-v"; restore Verify -n;;
|
||||
relabel) relabel;;
|
||||
onboot)
|
||||
if [ "$RESTORE_MODE" != DEFAULT ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user