diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-11-14 15:43:37 +0100 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@gmail.com> | 2019-11-15 14:53:30 +0100 |
| commit | 90f3b019e42736360b0f1fcfcda486086b07c9a1 (patch) | |
| tree | 9272a692ef3296242a3671ce9e5c3a9835d3e373 /pkg/host/host_linux.go | |
| parent | be7a4ab6d8218c838164c65b32b1eae9b6d47517 (diff) | |
executor, pkg/host: update usb raw-gadget interface
The patches are being upstreamed and the interface has changed.
Diffstat (limited to 'pkg/host/host_linux.go')
| -rw-r--r-- | pkg/host/host_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/host/host_linux.go b/pkg/host/host_linux.go index c071a8cb9..d9a8c24f9 100644 --- a/pkg/host/host_linux.go +++ b/pkg/host/host_linux.go @@ -546,7 +546,7 @@ func checkNetworkInjection() string { } func checkUSBInjection() string { - if err := osutil.IsAccessible("/sys/kernel/debug/usb/raw-gadget"); err != nil { + if err := osutil.IsAccessible("/dev/raw-gadget"); err != nil { return err.Error() } return "" |
