aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/install.c')
-rw-r--r--coreutils/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/install.c b/coreutils/install.c
index aa7e8bf2b..c899158aa 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -86,7 +86,7 @@ int install_main(int argc, char **argv)
break;
}
}
- if ((flags & (OPT_OWNER|OPT_GROUP))
+ if ((flags & (OPT_OWNER|OPT_GROUP))
&& lchown(*argv, uid, gid) == -1
) {
bb_perror_msg("cannot change ownership of %s", *argv);