Skip to content

Commit 14755f2

Browse files
committed
Echo to stderr; slightly more meaningful output
1 parent dfe0a7e commit 14755f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

utils/ruleset-coverage-whitelist-cleanup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ for file in $WLISTFILES; do
2121
# Remove those that no longer exist
2222
if [ ! -f $file ]; then
2323
sed -i "/ $file/d" $WLIST
24-
echo "$file no longer exists"
24+
echo >&2 "Removed $file: file no longer exists"
2525
# Remove those whose hashes no longer match
2626
elif ! grep -q $(sha256sum $file) $WLIST; then
2727
sed -i "/ $file/d" $WLIST
28-
echo "$file no longer matches the whitelist hash"
28+
echo >&2 "Removed $file: file no longer matches the whitelist hash"
2929
fi
3030
done

0 commit comments

Comments
 (0)