Skip to content

Restic v0.17.0 file listings (ls, find, etc) not responding to SIGINT/TERM #4957

@akrabu

Description

@akrabu

Output of restic version

restic 0.17.0 compiled with go1.22.5 on darwin/arm64

What backend/service did you use to store the repository?

Local

Problem description / Steps to reproduce

CTRL+C (SIGTERM) doesn't cancel file listings (ls/find/diff), but CTRL+\ (SIGQUIT) does.

Expected behavior

SIGTERM should stop the file listing and quit, instead of waiting 'til the end of the file listing.

Actual behavior

See here:
https://v.usetapes.com/3HZ2EHgHS4

TL;DW: if you CTRL+C a file listing with ls, find, or diff it won't quit, but if you use ctrl+\ it will (possibly snapshots too, if it was long enough? maybe others?? list seems to work as expected though)

Did restic help you today? Did it make you happy in any way?

Saved my bacon many times :)

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