commit | 26d0efa81cc667903aff4d5064abd78b6b129863 | [log] [tgz] |
---|---|---|
author | Michael Marineau <michael.marineau@coreos.com> | Sun Aug 18 00:38:21 2013 |
committer | Michael Marineau <michael.marineau@coreos.com> | Sun Aug 18 00:38:21 2013 |
tree | 4450e97b61abbe0e60770d7e86c2e050ba2ab401 | |
parent | e9a9d4b3a562a85a0f30d4087ffffe4696c81dbf [diff] |
fix(cgpt next): Fix fallback when the first root partition is bad. Currently the first partition (when next_index == -1) will always be assumed to be good because success and tries aren't checked and its priority is then preserved. This will break fallback to a lower priority root after the first's tries are used-up.