Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f66486ef authored by Stephen Hines's avatar Stephen Hines Committed by Gerrit Code Review
Browse files

Merge "Fix incorrect path name check."

parents b553a18a 60f21a7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -244,7 +244,7 @@ int list_devices_callback(usb_ifc_info *info)
        // output compatible with "adb devices"
        // output compatible with "adb devices"
        if (!long_listing) {
        if (!long_listing) {
            printf("%s\tfastboot\n", serial);
            printf("%s\tfastboot\n", serial);
        } else if (!info->device_path) {
        } else if (!strcmp("", info->device_path)) {
            printf("%-22s fastboot\n", serial);
            printf("%-22s fastboot\n", serial);
        } else {
        } else {
            printf("%-22s fastboot %s\n", serial, info->device_path);
            printf("%-22s fastboot %s\n", serial, info->device_path);