Skip to content

ls: -L on broken links should return 1 #2928

@jtracey

Description

@jtracey

ls is supposed to have an exit status of 1 for "minor problems". This includes trying to dereference symbolic links (via -L) when they don't link anywhere. The lack of return code is causing the latest tests/ls/selinux-segfault GNU test to fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions