2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-22 22:58:26 +00:00
restic/internal
Michael Eischer 306a29980a Print stacktrace in SIGINT handler if RESTIC_DEBUG_STACKTRACE_SIGINT set
The builtin mechanism to capture a stacktrace in Go is to send a SIGQUIT
to the running process. However, this mechanism is not avaiable on
Windows. Thus, tweak the SIGINT handler to dump a stacktrace if the
environment variable `RESTIC_DEBUG_STACKTRACE_SIGINT` is set.
2023-04-23 15:50:40 +02:00
..
2023-04-22 13:20:20 +02:00
2022-07-17 13:42:23 +02:00
2022-10-14 14:06:47 +02:00
2023-04-07 12:08:23 +02:00