Skip to content

Commit dd65403

Browse files
elezarsoharaa
authored andcommitted
Fix bug in create-dev-char-symlinks command
Signed-off-by: Evan Lezar <[email protected]> (cherry picked from commit d8e61f9)
1 parent e258bbf commit dd65403

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/nvidia-ctk/system/create-dev-char-symlinks/create-dev-char-symlinks.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ func (m command) build() *cli.Command {
115115
}
116116

117117
func (m command) validateFlags(cfg *config) error {
118-
if cfg.createAll {
119-
return fmt.Errorf("create-all and watch are mutually exclusive")
120-
}
121-
122118
if cfg.loadKernelModules && !cfg.createAll {
123119
m.logger.Warning("load-kernel-modules is only applicable when create-all is set; ignoring")
124120
cfg.loadKernelModules = false

0 commit comments

Comments
 (0)