diff options
Diffstat (limited to 'runsc/test/testutil')
-rw-r--r-- | runsc/test/testutil/docker.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/test/testutil/docker.go b/runsc/test/testutil/docker.go index e103e930c..81f5a9ef0 100644 --- a/runsc/test/testutil/docker.go +++ b/runsc/test/testutil/docker.go @@ -31,8 +31,8 @@ import ( ) func getRuntime() string { - r := os.Getenv("RUNSC_RUNTIME") - if r == "" { + r, ok := os.LookupEnv("RUNSC_RUNTIME") + if !ok { return "runsc-test" } return r |