diff options
author | Doug Zongker <dougz@android.com> | 2009-06-25 23:34:03 +0200 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-06-25 23:34:03 +0200 |
commit | 898ef399d3ee998a871bebd04264b29e23c66738 (patch) | |
tree | 32746aaa2d76a814e8ab627b18bab7ca9af7a43c | |
parent | am fbf3c10e: improve updater progress bar (diff) | |
parent | fix off-by-one error in set_perm() (diff) | |
download | android_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 |
Diffstat (limited to '')
-rw-r--r-- | updater/install.c | 2 |
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); } |