1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update the crashTest to have the dockerpath in env

This commit is contained in:
Guillaume J. Charmes 2013-04-28 01:27:56 -07:00
parent cb431f223f
commit ebe157ebb5

View file

@ -5,10 +5,11 @@ import (
"log" "log"
"os" "os"
"os/exec" "os/exec"
"path"
"time" "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) { func runDaemon() (*exec.Cmd, error) {
os.Remove("/var/run/docker.pid") os.Remove("/var/run/docker.pid")