ctr: remove SIGUNUSED from signal map
The SIGUNUSED constant was removed from golang.org/x/sys/unix in https://go-review.googlesource.com/61771 as it is also removed from the respective glibc headers. This means the command ctr tasks kill SIGUNUSED ... will no longer work. However, the same effect can be achieved with ctr tasks kill SIGSYS ... as SIGSYS has the same value as SIGUNUSED used to have. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This commit is contained in:
@@ -34,7 +34,6 @@ var signalMap = map[string]syscall.Signal{
|
||||
"TSTP": unix.SIGTSTP,
|
||||
"TTIN": unix.SIGTTIN,
|
||||
"TTOU": unix.SIGTTOU,
|
||||
"UNUSED": unix.SIGUNUSED,
|
||||
"URG": unix.SIGURG,
|
||||
"USR1": unix.SIGUSR1,
|
||||
"USR2": unix.SIGUSR2,
|
||||
|
||||
Reference in New Issue
Block a user