From 2f763eca1dd73c160f5c4185a26ab5f68337194a Mon Sep 17 00:00:00 2001 From: cperciva Date: Mon, 22 Aug 2005 09:33:36 +0000 Subject: When looking for new lines in diff output, grep for '^[>+]' instead of '^>', in order to catch both normal and unified diffs. Problem reported by: volker at vwsoft dot com via -stable MFC after: 3 days --- etc/periodic/security/security.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/periodic/security/security.functions b/etc/periodic/security/security.functions index c5aa3c3..f5b8dcd 100644 --- a/etc/periodic/security/security.functions +++ b/etc/periodic/security/security.functions @@ -43,7 +43,7 @@ check_diff() { rc=0 if [ "$1" = "new_only" ]; then shift - filter="grep '^>'" + filter="grep '^[>+]'" else filter="cat" fi -- cgit v1.1