[PATCH] tools: Fix dry run of libvirt_recover_xattrs.sh

Ján Tomko jtomko at redhat.com
Mon Mar 1 17:47:23 UTC 2021


On a Monday in 2021, Michal Privoznik wrote:
>The libvirt_recover_xattrs.sh script can be used to remove stale
>XATTRs that were left behind by secdrivers (which should happen
>only if there' an imbalance between set and restore calls).

*there's

>Anyway, the script has '-n' switch which is supposed to perform
>just a dry run, i.e. just to report which files have XATTRs set
>without any attempt to remove them.
>
>But, when rewriting the script a few months ago a typo was
>introduced which made the script report no files even if there
>were files with XATTRs.
>
>Fixes: 5377177f80da40ee7d47601400b50835f093715a
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> tools/libvirt_recover_xattrs.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210301/d116483b/attachment-0001.sig>


More information about the libvir-list mailing list