Skip to content

TarError::Io returns exit code 2, GNU tar returns exit code 141 #263

@kevinburke

Description

@kevinburke

In extract.rs, code like this

out.flush().map_err(TarError::Io)?;

UError::code reports as 2, with the io error printed to stderr - is non-conventional. GNU tar on tar tf foo.tar | head -1 exits via SIGPIPE (status 141) silently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions