Add specific exit code for device disconnection
Modify the return logic such that exit code 1 is used when the initial connection fails, but if a session is established, and then the device disconnects, exit code 2 is emitted. Fixes #3083 <https://github.com/Genymobile/scrcpy/issues/3083> PR #3085 <https://github.com/Genymobile/scrcpy/pull/3085> Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Romain Vimont <rom@rom1v.com>
M
martin f. krafft committed
b3f5dfe1de03ff8e19225aee08dcbd62d6089d56
Parent: 1f4c801
Committed by Romain Vimont <rom@rom1v.com>
on 3/6/2022, 9:19:46 PM