fastboot: Follow fastboot pattern to show network-connected device status

Bug: 269348113
Test: checked output
Change-Id: Ie6c48d36bd67fcb060ad3f4a35185fd9cc59ff81
Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
This commit is contained in:
Dmitrii Merkurev 2023-02-15 15:34:58 +00:00
parent d14a7551d5
commit c48cd9f6c0

View file

@ -428,7 +428,7 @@ static Transport* NetworkDeviceConnected(bool print = false) {
transport = open_device(device.c_str(), false, false);
if (print) {
PrintDevice(device.c_str(), transport == nullptr ? "offline" : "device");
PrintDevice(device.c_str(), transport == nullptr ? "offline" : "fastboot");
}
if (transport != nullptr) {