aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/oldwrapper.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/oldwrapper.go')
-rw-r--r--compiler_wrapper/oldwrapper.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler_wrapper/oldwrapper.go b/compiler_wrapper/oldwrapper.go
index f59d0cc2..1b510f6c 100644
--- a/compiler_wrapper/oldwrapper.go
+++ b/compiler_wrapper/oldwrapper.go
@@ -20,13 +20,7 @@ const compareToOldWrapperFilePattern = "old_wrapper_compare"
// Whether the command should be executed by the old wrapper as we don't
// support it yet.
func shouldForwardToOldWrapper(env env, inputCmd *command) bool {
- switch {
- case env.getenv("GETRUSAGE") != "":
- fallthrough
- case env.getenv("BISECT_STAGE") != "":
- return true
- }
- return false
+ return env.getenv("BISECT_STAGE") != ""
}
func forwardToOldWrapper(env env, cfg *config, inputCmd *command) (exitCode int, err error) {