Skip to content

Crash on CTRL+D #41

@eliminmax

Description

@eliminmax

I'm in the habit of inserting the EOT special character with ctrl+d to quit command-line programs. If I do that in nsh, I get the follwoing error:

nsh: panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', /home/eliminmax/.local/lib/rust/cargo/registry/src/github.com-1ecc6299db9ec823/nsh-0.4.2/src/bash_server.rs:26:33
nsh:    0:     0x55cbf52482a7 - <unknown>
   1:     0x55cbf5237d95 - <unknown>
   2:     0x55cbf51dd51e - <unknown>
   3:     0x55cbf52cf904 - <unknown>
   4:     0x55cbf52cf5b7 - <unknown>
   5:     0x55cbf52cd324 - <unknown>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions