diff options
Diffstat (limited to 'coreutils/install.c')
-rw-r--r-- | coreutils/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/install.c b/coreutils/install.c index aa7e8bf..c899158 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); |