Skip to content

Commit 8ef4fb2

Browse files
[no-relnote] drop-in-config must be absolute path
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
1 parent 9aada78 commit 8ef4fb2

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
@@ -259,6 +259,10 @@ func (m command) validateFlags(config *config) error {
259259
}
260260
}
261261

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

0 commit comments

Comments
 (0)