Merge pull request #410 from hqhq/fix_README
fix instructions in README
This commit is contained in:
commit
b48acf4613
|
@ -101,14 +101,16 @@ process := &libcontainer.Process{
|
|||
Stderr: os.Stderr,
|
||||
}
|
||||
|
||||
pid, err := container.Start(process)
|
||||
err := container.Start(process)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
|
||||
// wait for the process to finish.
|
||||
wait(pid)
|
||||
status, err := process.Wait()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// destroy the container.
|
||||
container.Destroy()
|
||||
|
|
Loading…
Reference in New Issue