summaryrefslogtreecommitdiffstats
path: root/updater/install.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-25 22:37:31 +0200
committerDoug Zongker <dougz@android.com>2009-06-25 22:37:31 +0200
commit0bbfe3d901885c1f0ab006e8d4cc1029c44a7376 (patch)
tree7a6abda5856a0fc4e62d94a1ad89c145a3d41c45 /updater/install.c
parentimprove updater progress bar (diff)
downloadandroid_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.tar
android_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.tar.gz
android_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.tar.bz2
android_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.tar.lz
android_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.tar.xz
android_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.tar.zst
android_bootable_recovery-0bbfe3d901885c1f0ab006e8d4cc1029c44a7376.zip
Diffstat (limited to '')
-rw-r--r--updater/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c
index e1f3c9acf..c4f5e0341 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -422,7 +422,7 @@ char* SetPermFn(const char* name, State* state, int argc, Expr* argv[]) {
goto done;
}
- for (i = 4; i < argc; ++i) {
+ for (i = 3; i < argc; ++i) {
chown(args[i], uid, gid);
chmod(args[i], mode);
}