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
1 changed files with 2 additions and 1 deletions

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")