summaryrefslogtreecommitdiff
path: root/pkg/signal/signal_unix.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-27 15:58:34 +0000
committerGitHub <noreply@github.com>2022-06-27 15:58:34 +0000
commit465c54829e46ca9724bd882756fba89bfaff965d (patch)
tree348c63a38955b9a517e073d9ee784737329d6ca7 /pkg/signal/signal_unix.go
parent088665d2cfd488004f34dbd0804c3cd00bf94ca4 (diff)
parent66c62eb96816d7eb021da22d439838510d61f916 (diff)
downloadpodman-465c54829e46ca9724bd882756fba89bfaff965d.tar.gz
podman-465c54829e46ca9724bd882756fba89bfaff965d.tar.bz2
podman-465c54829e46ca9724bd882756fba89bfaff965d.zip
Merge pull request #14733 from dfr/unix-signal
Implement CatchAll and StopCatch in signal_unix.go
Diffstat (limited to 'pkg/signal/signal_unix.go')
-rw-r--r--pkg/signal/signal_unix.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkg/signal/signal_unix.go b/pkg/signal/signal_unix.go
index 0f43e21b7..7919e3670 100644
--- a/pkg/signal/signal_unix.go
+++ b/pkg/signal/signal_unix.go
@@ -5,7 +5,6 @@
package signal
import (
- "os"
"syscall"
)
@@ -88,13 +87,3 @@ var SignalMap = map[string]syscall.Signal{
"RTMAX-1": sigrtmax - 1,
"RTMAX": sigrtmax,
}
-
-// CatchAll catches all signals and relays them to the specified channel.
-func CatchAll(sigc chan os.Signal) {
- panic("Unsupported on non-linux platforms")
-}
-
-// StopCatch stops catching the signals and closes the specified channel.
-func StopCatch(sigc chan os.Signal) {
- panic("Unsupported on non-linux platforms")
-}