aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/osutil/osutil_noappengine.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-06 15:29:02 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-06 15:59:35 +0200
commit36db93ffb999fa743fc81cf9d05811b94751ca5f (patch)
tree17ed11d544e3735eaaadfa589998766372b853bb /pkg/osutil/osutil_noappengine.go
parent4e3820bfb2ea2331d420033ae77d341ed049c2a5 (diff)
pkg/osutil: remove appengine tag
Appengine doesn't provide appengine tag anymore. Resort to use of syscall package for ExitStatus instead.
Diffstat (limited to 'pkg/osutil/osutil_noappengine.go')
-rw-r--r--pkg/osutil/osutil_noappengine.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkg/osutil/osutil_noappengine.go b/pkg/osutil/osutil_noappengine.go
deleted file mode 100644
index 4c822db5b..000000000
--- a/pkg/osutil/osutil_noappengine.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2020 syzkaller project authors. All rights reserved.
-// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-
-// +build !appengine
-
-package osutil
-
-import (
- "os/exec"
-)
-
-func exitCode(err error) int {
- if exitError, ok := err.(*exec.ExitError); ok {
- return exitError.ProcessState.ExitCode()
- }
- return 0
-}