mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
Fix the pid-file option for runc run/exec/create command
Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
@@ -54,6 +54,9 @@ command(s) that get executed on start, edit the args parameter of the spec. See
|
||||
cli.ShowCommandHelp(context, "create")
|
||||
return fmt.Errorf("runc: \"create\" requires exactly one argument")
|
||||
}
|
||||
if err := revisePidFile(context); err != nil {
|
||||
return err
|
||||
}
|
||||
spec, err := setupSpec(context)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user