summaryrefslogtreecommitdiff
path: root/libbb/recursive_action.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-12 23:46:31 +0000
committerDenis Vlasenko2006-12-12 23:46:31 +0000
commit5e2db5e8ee527ef35f3654fdeaac9a9efe7b9eb9 (patch)
treef083d2194c476e68b222cb77e343ae135753e77b /libbb/recursive_action.c
parent5fa7148761097d067c3f6723ca55c6284d1152ac (diff)
downloadbusybox-5e2db5e8ee527ef35f3654fdeaac9a9efe7b9eb9.zip
busybox-5e2db5e8ee527ef35f3654fdeaac9a9efe7b9eb9.tar.gz
build system: small fix for "release" target to work
Diffstat (limited to 'libbb/recursive_action.c')
-rw-r--r--libbb/recursive_action.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c
index 05ff5d8..121a3df 100644
--- a/libbb/recursive_action.c
+++ b/libbb/recursive_action.c
@@ -93,6 +93,10 @@ int recursive_action(const char *fileName,
dir = opendir(fileName);
if (!dir) {
+ /* findutils-4.1.20 reports this */
+ /* (i.e. it doesn't silently return with exit code 1) */
+ /* To trigger: "find -exec rm -rf {} \;" */
+ bb_perror_msg("%s", fileName);
return FALSE;
}
status = TRUE;