Add missing error handling

If "adb get-serialno" fails, attempting to read from the uninitialized
pipe is incorrect.
This commit is contained in:
Romain Vimont 2021-11-17 18:36:03 +01:00
parent de50846905
commit 632bd5697b