Skip to content

Commit e98dc0a

Browse files
[no-relnote] check if dropin path is absolute
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
1 parent 7386f78 commit e98dc0a

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

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

0 commit comments

Comments
 (0)