You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anywhere in the code the diag script calls find like this
for i in $(find / -name php.ini 2>/dev/null)
Doing find /.... without any excludes is IMHO a bad idea, as we have a huge NFS share. Consider to use locate(1) in this situation and fall back to find(1) only if there is no locate(1) or it does not return results.
The text was updated successfully, but these errors were encountered:
hpreusse
changed the title
Avoid "find /"
Avoid "find /..." without excludes
Dec 21, 2020
Anywhere in the code the diag script calls
find
like thisfor i in $(find / -name php.ini 2>/dev/null)
Doing
find /....
without any excludes is IMHO a bad idea, as we have a huge NFS share. Consider to use locate(1) in this situation and fall back to find(1) only if there is no locate(1) or it does not return results.The text was updated successfully, but these errors were encountered: