commit | ebd4613bfc8d926503f7de38240529ce0b1997ee | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Apr 22 11:52:23 2010 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Apr 22 11:52:23 2010 -0700 |
tree | 00348fe1c248104a95ee0c40b8ab285f5555f9cc | |
parent | ec35336102d2e73167e970e6287c045917d9574b [diff] |
init: Fix init spinning once init.rc is complete When the init process ran out of actions to execute, cur_action was NULL and action_queue_empty() was true, but cur_command was still set. This patch clears cur_command when a new action is retreived, and only depends on cur_action and action_queue_empty() to determine the poll timeout. Change-Id: Iaa95063c8c267a5b1ada9f20363b99c433e61ac4