Skip to content

many utils: cmd arg >&- should fail with write error: Bad file descriptor instead of silent success #9795

@oech3

Description

@oech3

After some talk with @pixelb about help-version*.sh uutils disabled to avoid large logs, I noticed that we have

$ uu-true --version >&- # success
$ gnu-true --version >&-
true: write error: Bad file descriptor
$ ls >&- # success
$ gnu-ls >&-
ls: write error: Bad file descriptor

Related: #9782 #9769

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