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

Change-Id: I38dfc95b555e69044b895d0bc6459bb8f6ba9ed1
Commit-Ready: Dan Erat <>
Tested-by: Dan Erat <>
Reviewed-by: Dan Erat <>
1 file changed