mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
fb9729fdb9
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. |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
gs | ||
local | ||
location | ||
mem | ||
rest | ||
s3 | ||
sftp | ||
swift | ||
test | ||
testdata | ||
doc.go | ||
http_transport.go | ||
layout_default.go | ||
layout_rest.go | ||
layout_s3legacy.go | ||
layout_test.go | ||
layout.go | ||
paths.go | ||
semaphore.go | ||
utils_test.go | ||
utils.go |