crostestutils: Fix recover_duts error handling.
Make the recover_duts check_ethernet hook just run dbus-send
immediately in the background. The script previously ran
dbus-send and reboot in a subshell with "set -e" still
active, which would've resulted in reboot not being called
if dbus-send failed.
TEST=made the script's checks fail and verified that it
successfully reboots a DUT both when powerd is running
and when it isn't
Commit-Ready: Dan Erat <firstname.lastname@example.org>
Tested-by: Dan Erat <email@example.com>
Reviewed-by: Dan Erat <firstname.lastname@example.org>
1 file changed