summaryrefslogtreecommitdiff
path: root/coreutils/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/chown.c')
-rw-r--r--coreutils/chown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c
index da6b6ab..09cf73f 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);