summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-25 23:34:03 +0200
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-25 23:34:03 +0200
commit898ef399d3ee998a871bebd04264b29e23c66738 (patch)
tree32746aaa2d76a814e8ab627b18bab7ca9af7a43c
parentam fbf3c10e: improve updater progress bar (diff)
parentfix off-by-one error in set_perm() (diff)
downloadandroid_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.tar
android_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.tar.gz
android_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.tar.bz2
android_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.tar.lz
android_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.tar.xz
android_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.tar.zst
android_bootable_recovery-898ef399d3ee998a871bebd04264b29e23c66738.zip
-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);
}