summaryrefslogtreecommitdiff
path: root/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'chown.c')
-rw-r--r--chown.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/chown.c b/chown.c
index 5c2ae0d..5ac48f7 100644
--- a/chown.c
+++ b/chown.c
@@ -116,10 +116,7 @@ int chown_main(int argc, char **argv)
}
while (argc-- > 1) {
argv++;
- if (recursiveFlag==TRUE)
- recursiveAction( *argv, TRUE, fileAction, fileAction);
- else
- fileAction( *argv);
+ recursiveAction( *argv, recursiveFlag, TRUE, fileAction, fileAction);
}
return(TRUE);
}