summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libbb/recursive_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c
index 72371963f..d27629829 100644
--- a/libbb/recursive_action.c
+++ b/libbb/recursive_action.c
@@ -100,7 +100,7 @@ int recursive_action(const char *fileName,
return FALSE;
}
status = TRUE;
- while (status && (next = readdir(dir)) != NULL) {
+ while ((next = readdir(dir)) != NULL) {
char *nextFile;
nextFile = concat_subpath_file(fileName, next->d_name);