1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Update the crashTest to have the dockerpath in env

Upstream-commit: ebe157ebb567965e05cca45a1221cd36ec48a052
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-04-28 01:27:56 -07:00
parent 690c07c3c7
commit d9ff34c9b9

View File

@@ -5,10 +5,11 @@ import (
"log"
"os"
"os/exec"
"path"
"time"
)
const DOCKER_PATH = "/home/creack/dotcloud/docker/docker/docker"
var DOCKER_PATH string = path.Join(os.Getenv("DOCKERPATH"), "docker")
func runDaemon() (*exec.Cmd, error) {
os.Remove("/var/run/docker.pid")