mirror of
https://github.com/restic/restic.git
synced 2026-02-02 11:59:32 -05:00
This was a bit tricky: We start the ssh binary, but we want it to ignore SIGINT. In contrast, restic itself should process SIGINT and clean up properly. Before, we used `setsid()` to give the ssh process its own process group, but that means it cannot prompt the user for a password because the tty is gone. So, now we're passing in two functions that ignore SIGINT just before the ssh process is started and re-install it after start. |
||
|---|---|---|
| .. | ||
| archiver | ||
| backend | ||
| checker | ||
| crypto | ||
| debug | ||
| errors | ||
| filter | ||
| fs | ||
| fuse | ||
| hashing | ||
| index | ||
| list | ||
| migrations | ||
| mock | ||
| options | ||
| pack | ||
| pipe | ||
| repository | ||
| restic | ||
| test | ||
| walk | ||
| worker | ||