setup-hooks/strip: silence 'File format not recognized' errors again

This got lost in e4d17dc558.
This commit is contained in:
Sandro Jäckel 2020-12-31 23:34:20 +01:00
parent a6f7ba3752
commit 03ba885fa2
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

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
}