mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
16 lines
200 B
Go
16 lines
200 B
Go
package agentssh
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/gliderlabs/ssh"
|
|
)
|
|
|
|
func osSignalFrom(sig ssh.Signal) os.Signal {
|
|
switch sig {
|
|
// Signals are not supported on Windows.
|
|
default:
|
|
return os.Kill
|
|
}
|
|
}
|