New systemd based distros reboot so quickly that the ssh connection errors returning 255 (or -1 in python because signed integers). Ignore return codes of -1 when rebooting over ssh as a result. All other return codes will be propogated properly. Change-Id: I272f00e9e07f1ed04f2b97d0e1609c6e8d49caf3
10 KiB
Executable File
10 KiB
Executable File