summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);
}