Skip to content

Commit

Permalink
Ignore crashes due to SIGPIPE in generate_appcast (#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo authored May 20, 2024
1 parent f904466 commit 2247105
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generate_appcast/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2247105

Please sign in to comment.