[Libguestfs] regression: file does not understand the -S option

Olaf Hering olaf at aepfle.de
Wed Sep 20 21:42:55 UTC 2023


Recently a commit was added to call 'file -zSb' instead of 'file -zb'.

This causes a regression on Leap 15 (but not on Tumbleweed), because
file 5.32 does not understand the -S option.

How can this be fixed properly, to handle both cases either at runtime
or at buildtime?


Thanks,
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230920/2661f2dc/attachment.sig>


More information about the Libguestfs mailing list