Skip to content

Commit df47315

Browse files
[no-relnote] check if dropin path is absolute
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent d80c973 commit df47315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func (m command) validateFlags(config *config) error {
258258
}
259259
}
260260

261-
if !filepath.IsAbs(config.dropInConfigPath) {
261+
if config.dropInConfigPath != "" && !filepath.IsAbs(config.dropInConfigPath) {
262262
return fmt.Errorf("the drop-in-config path %q is not an absolute path", config.dropInConfigPath)
263263
}
264264

0 commit comments

Comments
 (0)