diff options
Diffstat (limited to 'src/chgrp.c')
-rw-r--r-- | src/chgrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chgrp.c b/src/chgrp.c index 71582b509..b9e3f4387 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -293,7 +293,7 @@ main (int argc, char **argv) gid = parse_group (group_name); } - if (chopt.recurse & preserve_root) + if (chopt.recurse && preserve_root) { static struct dev_ino dev_ino_buf; chopt.root_dev_ino = get_root_dev_ino (&dev_ino_buf); |