From 90f3b019e42736360b0f1fcfcda486086b07c9a1 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Thu, 14 Nov 2019 15:43:37 +0100 Subject: executor, pkg/host: update usb raw-gadget interface The patches are being upstreamed and the interface has changed. --- pkg/host/host_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/host/host_linux.go') 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 "" -- cgit mrf-deployment