mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Ignore crashes due to SIGPIPE in generate_appcast (#2563)
This commit is contained in:
1 file changed
+4
@@ -248,6 +248,10 @@ struct GenerateAppcast: ParsableCommand {
|
||||
}
|
||||
|
||||
func run() throws {
|
||||
// Ignore SIGPIPE because we won't want read or write failures due to broken pipe to unexpectably
|
||||
// terminate the process, when extracting archives
|
||||
signal(SIGPIPE, SIG_IGN)
|
||||
|
||||
// Extract the keys
|
||||
let privateDSAKey : SecKey?
|
||||
#if GENERATE_APPCAST_BUILD_LEGACY_DSA_SUPPORT
|
||||
|
||||
Reference in new issue
Block a user