aboutsummaryrefslogtreecommitdiff
path: root/chmod_chown_chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r--chmod_chown_chgrp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c
index 85ba247b8..8bda06861 100644
--- a/chmod_chown_chgrp.c
+++ b/chmod_chown_chgrp.c
@@ -1,7 +1,9 @@
1/* 1/*
2 * Mini chown/chmod/chgrp implementation for busybox 2 * Mini chown/chmod/chgrp implementation for busybox
3 * 3 *
4 * Copyright (C) 1998 by Erik Andersen <andersee@debian.org> 4 *
5 * Copyright (C) 1999 by Lineo, inc.
6 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
5 * 7 *
6 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
@@ -107,7 +109,7 @@ int chmod_chown_chgrp_main(int argc, char **argv)
107 } else { 109 } else {
108 110
109 /* Find the selected group */ 111 /* Find the selected group */
110 if ( whichApp==CHGRP_APP && groupName ) { 112 if ( whichApp==CHGRP_APP ) {
111 groupName = *argv; 113 groupName = *argv;
112 gid = my_getgrnam(groupName); 114 gid = my_getgrnam(groupName);
113 if (gid == -1) 115 if (gid == -1)