commit | 12ae14a5d63e58ef4173c87476f13f2bb4c882ee | [log] [tgz] |
---|---|---|
author | Nandana Dutt <nandana@google.com> | Wed Jan 09 10:35:53 2019 +0000 |
committer | Nandana Dutt <nandana@google.com> | Fri Jan 11 10:12:04 2019 +0000 |
tree | 7e698886e1069cf7dbebc2cb5748084b938c636e | |
parent | dc23aff2d74257f0db9225a646e57de3b5c0768c [diff] |
Simplify the exit conditions for dumpstate Now that the exit conditions are mostly in one place it is more readable to directly call exit. BUG:111441001 Test: /system/bin/dumpstate -d || echo "bad flag works as expected" Test: /system/bin/dumpstate -h && echo "help flag works as expected" Test: adb bugreport a.zip Change-Id: Ie40d81a3317ad8bb97c825523533ea3fa1016733