Skip to content

find: -ls ignores write errors on standard output #897

Closed

Description

@SichenLiang

When standard output is /dev/full, uutils find -ls exits 0 without a diagnostic:

$ find . -maxdepth 0 -ls > /dev/full; echo $?
0

GNU findutils 4.11.0 reports:

find: 'standard output': No space left on device
find: write error

and exits 1. With -print, uutils does return 1, but still omits the diagnostic.

I have a fix ready and will open the PR once #886 or #894 is merged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions