diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/recursive_action.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index 05ff5d84f..121a3dffd 100644 --- a/libbb/recursive_action.c +++ b/libbb/recursive_action.c | |||
@@ -93,6 +93,10 @@ int recursive_action(const char *fileName, | |||
93 | 93 | ||
94 | dir = opendir(fileName); | 94 | dir = opendir(fileName); |
95 | if (!dir) { | 95 | if (!dir) { |
96 | /* findutils-4.1.20 reports this */ | ||
97 | /* (i.e. it doesn't silently return with exit code 1) */ | ||
98 | /* To trigger: "find -exec rm -rf {} \;" */ | ||
99 | bb_perror_msg("%s", fileName); | ||
96 | return FALSE; | 100 | return FALSE; |
97 | } | 101 | } |
98 | status = TRUE; | 102 | status = TRUE; |