commit | 28f4807dd3f0c1e9ddaf517122c97fe84e6ff1b8 | [log] [tgz] |
---|---|---|
author | Matt Schulte <matsch@google.com> | Wed Feb 07 16:24:26 2024 -0800 |
committer | Matt Schulte <matsch@google.com> | Wed Feb 07 16:24:26 2024 -0800 |
tree | f4b30f4ae299e3385b42a82c264892db855f1964 | |
parent | c72c9a6d3c460d10fd5f9dfcd537daab261df168 [diff] |
fastboot: Remove '\n' from interface name on linux If the device provides an interface string, we should remove the newline from the read file that is added from by the linux kernel. Bug: 324320178 Test: Ran the same command with my local changes vs not ``` bash$ ./fastboot devices -l 5f42ad5ad259c90cf14ea222791b6aaa fastboot usb:7-3 bash$ fastboot devices -l 5f42ad5ad259c90cf14ea222791b6aaa fastboot usb:7-3 ``` Change-Id: Ida3316fdba8e35f0c66784f83455a4d82e90ba1c