From 150f402b36197d822f8a7dd835231cd67b77e959 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 13 Jan 2007 21:06:21 +0000 Subject: whitespace fixes (leading spaces to tab) --- coreutils/chown.c | 2 +- coreutils/install.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils') diff --git a/coreutils/chown.c b/coreutils/chown.c index da6b6abdd..09cf73f04 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -72,7 +72,7 @@ int chown_main(int argc, char **argv) *groupName = ':'; /* replace '.' with ':' */ /* First, try parsing "user[:[group]]" */ - if (!groupName) { /* "user" */ + if (!groupName) { /* "user" */ ugid.uid = get_ug_id(*argv, xuname2uid); } else if (groupName == *argv) { /* ":group" */ ugid.gid = get_ug_id(groupName + 1, xgroup2gid); 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); -- cgit v1.2.3