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:
parent
cb431f223f
commit
ebe157ebb5
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue