Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Ignore SIGURG (gopasspw#2440)
Browse files Browse the repository at this point in the history
Alternative approach to gopasspw#2379

Signed-off-by: Dominik Schulz <[email protected]>
Co-Authored-By: Donoban <[email protected]>

Signed-off-by: Dominik Schulz <[email protected]>
Co-authored-by: Donoban <[email protected]>
  • Loading branch information
dominikschulz and donob4n authored Dec 4, 2022
1 parent 8321612 commit 3cc0ce4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions main_unix.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//go:build !windows
// +build !windows

package main

import (
"os/signal"
"syscall"
)

func init() {
// workaround for https://github.com/golang/go/issues/37942
signal.Ignore(syscall.SIGURG)
}

0 comments on commit 3cc0ce4

Please sign in to comment.