File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,8 @@ let select ~__context ~self ~variant =
142
142
if v.API. driver_variant_hardware_present = false then
143
143
no_hardware (Ref. string_of variant) ;
144
144
let stdout =
145
- Tool. call [" select" ; d.API. host_driver_name; v.API. driver_variant_name]
145
+ Tool. call
146
+ [" -s" ; " -n" ; d.API. host_driver_name; " -v" ; v.API. driver_variant_name]
146
147
in
147
148
info " %s: %s" __FUNCTION__ stdout ;
148
149
Db.Host_driver. set_selected_variant ~__context ~self ~value: variant
@@ -154,7 +155,7 @@ let select ~__context ~self ~variant =
154
155
let deselect ~__context ~self =
155
156
D. debug " %s driver %s" __FUNCTION__ (Ref. string_of self) ;
156
157
let d = Db.Host_driver. get_record ~__context ~self in
157
- let stdout = Tool. call [" deselect " ; d.API. host_driver_name] in
158
+ let stdout = Tool. call [" -d " ; d.API. host_driver_name] in
158
159
info " %s: %s" __FUNCTION__ stdout ;
159
160
Db.Host_driver. set_active_variant ~__context ~self ~value: Ref. null ;
160
161
Db.Host_driver. set_selected_variant ~__context ~self ~value: Ref. null
You can’t perform that action at this time.
0 commit comments