aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/recursive_action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c
index 07bd0abfd..3ec596a35 100644
--- a/libbb/recursive_action.c
+++ b/libbb/recursive_action.c
@@ -141,6 +141,7 @@ int FAST_FUNC recursive_action(const char *fileName,
return status;
done_nak_warn:
- bb_simple_perror_msg(fileName);
+ if (!(flags & ACTION_QUIET))
+ bb_simple_perror_msg(fileName);
return FALSE;
}