Skip to content

Commit d3e2517

Browse files
[no-relnote] drop-in-config must be absolute path
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent 995866e commit d3e2517

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/nvidia-ctk/runtime/configure/configure.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ func (m command) validateFlags(config *config) error {
258258
}
259259
}
260260

261+
if !filepath.IsAbs(config.dropInConfigPath) {
262+
return fmt.Errorf("the drop-in-config path %q is not an absolute path", config.dropInConfigPath)
263+
}
264+
261265
return nil
262266
}
263267

0 commit comments

Comments
 (0)