commit | c3ec233f432bd02d2f232e2ae413e537459f0cf1 | [log] [tgz] |
---|---|---|
author | Shawn Nematbakhsh <[email protected]> | Fri Jun 13 19:18:46 2014 |
committer | chrome-internal-fetch <[email protected]> | Wed Jun 18 01:39:44 2014 |
tree | d32b3b15cfbf8e2d2d61060a42d4b25638f2ad87 | |
parent | 219ee0fc6c9f233a1b159fd00e14b6a3c3e28262 [diff] |
init: powerd: Fix race condition with device disconnect If a device becomes disconnected after the "-e" check but before the chown command, we will return with fail status and powerd will not be started. Fix this by ensuring chown failure will not abort our script. BUG=chrome-os-partner:28827 TEST=Manual. Ensure powerd starts on boot. Change-Id: I2ec4d1a22461661f2601a1338337e97a3c45e7e4 Reviewed-on: https://chromium-review.googlesource.com/203747 Tested-by: Shawn Nematbakhsh <[email protected]> Reviewed-by: Derek Basehore <[email protected]> Commit-Queue: Shawn Nematbakhsh <[email protected]>