diff options
Diffstat (limited to 'usb-linux.c')
-rw-r--r-- | usb-linux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usb-linux.c b/usb-linux.c index 6113a0c5fb..7e94c6aa3d 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -1293,7 +1293,8 @@ static int usb_host_scan(void *opaque, USBScanFunc *func) usb_fs_type = USB_FS_SYS; closedir(dir); dprintf(opened, USBSYSBUS_PATH, devices); - } else { + } + if (!usb_fs_type) { term_printf("husb: unable to access USB devices\n"); goto the_end; } |