Merge pull request #108081 from SuperSandro2000/silence-file-format-not-recognized

setup-hooks/strip: silence 'File format not recognized' errors again
This commit is contained in:
Sandro 2021-01-07 00:49:44 +01:00 committed by GitHub
commit 7ff9b3699d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ stripDirs() {
if [ -n "${dirs}" ]; then
header "stripping (with command $cmd and flags $stripFlags) in$dirs"
find $dirs -type f -exec $cmd $commonStripFlags $stripFlags '{}' \; #
find $dirs -type f -exec $cmd $commonStripFlags $stripFlags '{}' \; 2>/dev/null
stopNest
fi
}