diff options
-rw-r--r-- | libbb/recursive_action.c | 2 |
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, | |||
100 | return FALSE; | 100 | return FALSE; |
101 | } | 101 | } |
102 | status = TRUE; | 102 | status = TRUE; |
103 | while (status && (next = readdir(dir)) != NULL) { | 103 | while ((next = readdir(dir)) != NULL) { |
104 | char *nextFile; | 104 | char *nextFile; |
105 | 105 | ||
106 | nextFile = concat_subpath_file(fileName, next->d_name); | 106 | nextFile = concat_subpath_file(fileName, next->d_name); |