Factor out some leftover direct references to runc binary

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2016-03-22 12:01:21 -04:00
parent d0f2c32679
commit 2406bbc1ca
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ func (p *process) start() error {
if err := cmd.Start(); err != nil {
if exErr, ok := err.(*exec.Error); ok {
if exErr.Err == exec.ErrNotFound || exErr.Err == os.ErrNotExist {
return fmt.Errorf("runc not installed on system")
return fmt.Errorf("%s not installed on system", p.runtime)
}
}
return err