aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c
index ced8922e7..f72cad7d1 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -1261,7 +1261,8 @@ static action*** parse_params(char **argv)
1261 ap->perm_char = arg1[0]; 1261 ap->perm_char = arg1[0];
1262 arg1 = (arg1[0] == '/' ? arg1+1 : plus_minus_num(arg1)); 1262 arg1 = (arg1[0] == '/' ? arg1+1 : plus_minus_num(arg1));
1263 /*ap->perm_mask = 0; - ALLOC_ACTION did it */ 1263 /*ap->perm_mask = 0; - ALLOC_ACTION did it */
1264 if (!bb_parse_mode(arg1, &ap->perm_mask)) 1264 ap->perm_mask = bb_parse_mode(arg1, ap->perm_mask);
1265 if (ap->perm_mask == (mode_t)-1)
1265 bb_error_msg_and_die("invalid mode '%s'", arg1); 1266 bb_error_msg_and_die("invalid mode '%s'", arg1);
1266 } 1267 }
1267#endif 1268#endif