Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chroot fails with a panic #7876

Copy link
Copy link
Open
Open
Copy link
@sylvestre

Description

@sylvestre
Issue body actions

with 0.0.30:

thread 'main' panicked at src/uu/chroot/src/chroot.rs:453:45:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I don't have step to reproduce yet.
Maybe it is:

we have also this unwrap()

std::env::set_current_dir("/").unwrap();

that we should remove.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.