summaryrefslogtreecommitdiffstats
path: root/cmds/dumpstate
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-05-17 12:40:11 -0700
committerJeff Sharkey <jsharkey@android.com>2012-05-17 13:03:34 -0700
commit13461c2ffe1c77a0c11a922ba41b0922791a7874 (patch)
treed44b847f6e7191912f509820901e5d96a05b9aae /cmds/dumpstate
parent515f19da246a11c417c1771d4293e753f09e79b6 (diff)
downloadframeworks_native-13461c2ffe1c77a0c11a922ba41b0922791a7874.zip
frameworks_native-13461c2ffe1c77a0c11a922ba41b0922791a7874.tar.gz
frameworks_native-13461c2ffe1c77a0c11a922ba41b0922791a7874.tar.bz2
Dump packages.xml as root.
Bug: 6501151 Change-Id: Ied638bdbe9ed6fbf749a44de8ac1f9d4167829c1
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r--cmds/dumpstate/dumpstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 2bcda11..165f11c 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -208,7 +208,7 @@ static void dumpstate() {
run_command("FILESYSTEMS & FREE SPACE", 10, SU_PATH, "root", "df", NULL);
- dump_file("PACKAGE SETTINGS", "/data/system/packages.xml");
+ run_command("PACKAGE SETTINGS", 20, SU_PATH, "root", "cat", "/data/system/packages.xml", NULL);
dump_file("PACKAGE UID ERRORS", "/data/system/uiderrors.txt");
run_command("LAST RADIO LOG", 10, "parse_radio_log", "/proc/last_radio_log", NULL);