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.

BUG=chromium:805051
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
Reviewed-on: https://chromium-review.googlesource.com/923203
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
1 file changed