From f6a825d7e08797c49ed1a3dcbcd994f5b815b97b Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 24 Jan 2018 15:55:30 -0500 Subject: [PATCH] vendor: DELETEME https://github.com/opencontainers/runc/pull/1701 Signed-off-by: Vincent Batts --- .../opencontainers/runc/libcontainer/utils/utils.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/opencontainers/runc/libcontainer/utils/utils.go b/vendor/github.com/opencontainers/runc/libcontainer/utils/utils.go index baa54c9b..2b35b9a7 100644 --- a/vendor/github.com/opencontainers/runc/libcontainer/utils/utils.go +++ b/vendor/github.com/opencontainers/runc/libcontainer/utils/utils.go @@ -8,9 +8,8 @@ import ( "os" "path/filepath" "strings" + "syscall" "unsafe" - - "golang.org/x/sys/unix" ) const ( @@ -42,7 +41,7 @@ func ResolveRootfs(uncleanRootfs string) (string, error) { // ExitStatus returns the correct exit status for a process based on if it // was signaled or exited cleanly -func ExitStatus(status unix.WaitStatus) int { +func ExitStatus(status syscall.WaitStatus) int { if status.Signaled() { return exitSignalOffset + int(status.Signal()) }