summaryrefslogtreecommitdiff
path: root/libbb/recursive_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/recursive_action.c')
-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 07bd0ab..3ec596a 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;
}