[Piuparts-devel] [Git][debian/piuparts][develop] ignore vanishing files
Holger Levsen
gitlab at salsa.debian.org
Tue Nov 27 20:59:01 GMT 2018
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
ec3d6b90 by Holger Levsen at 2018-11-27T20:58:14Z
ignore vanishing files
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- master-bin/detect_network_issues.in
- master-bin/detect_piuparts_issues.in
Changes:
=====================================
master-bin/detect_network_issues.in
=====================================
@@ -84,7 +84,7 @@ if [ -s $FILE ] ; then
for log in $(sort -u $FILE)
do
echo "$log" | cut -d "/" -f5-
- grep -E "$PATTERN" "$log" | perl -e 'print grep !$seen{$_}++, <>;' | head -n 10 | sed "s/^/${tab}/"
+ grep -E "$PATTERN" "$log" 2>/dev/null | perl -e 'print grep !$seen{$_}++, <>;' | head -n 10 | sed "s/^/${tab}/"
rm -f "$log"
done
echo
=====================================
master-bin/detect_piuparts_issues.in
=====================================
@@ -112,7 +112,7 @@ if [ -s $FILE ] ; then
do
echo "$log" | cut -d "/" -f5-
test -s "$log" || echo "${tab}Empty logfile."
- grep -E "$PATTERN" "$log" | perl -e 'print grep !$seen{$_}++, <>;' | head -n 10 | sed "s/^/${tab}/"
+ grep -E "$PATTERN" "$log" 2>/dev/null | perl -e 'print grep !$seen{$_}++, <>;' | head -n 10 | sed "s/^/${tab}/"
rm -f "$log"
done
echo
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/ec3d6b90c4469ff71823d16c09b283a691036bbe
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/ec3d6b90c4469ff71823d16c09b283a691036bbe
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181127/3bd5ba60/attachment.html>
More information about the Piuparts-devel
mailing list