ls: fix spurious output with -Z
commita94a551ee031e0ff07d707f867cb08a8be83e78c
authorPádraig Brady <P@draigBrady.com>
Thu, 3 Oct 2024 14:15:48 +0000 (3 15:15 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 3 Oct 2024 14:17:17 +0000 (3 15:17 +0100)
tree1a1494ca8b599a11a959cc5c56e40a45046d20b3
parent96100139fc9c05c0ad2236a240783543f0778b85
ls: fix spurious output with -Z

* src/ls.c (gobble_file): Only output an error if there actually
was an error.
src/ls.c