We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 801ab0c + cdf38ca commit 8e3ecf4Copy full SHA for 8e3ecf4
validate/validate.go
@@ -334,7 +334,7 @@ func (v *Validator) CheckProcess() (errs error) {
334
fmt.Errorf("args must not be empty"),
335
rspec.Version))
336
} else {
337
- if filepath.IsAbs(process.Args[0]) {
+ if filepath.IsAbs(process.Args[0]) && v.spec.Root != nil {
338
var rootfsPath string
339
if filepath.IsAbs(v.spec.Root.Path) {
340
rootfsPath = v.spec.Root.Path
0 commit comments