From f14f20ccf78aaa22a6ff744346cf9a8301cdada0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Mon, 19 Mar 2012 15:34:45 +0000 Subject: [PATCH] Include all files for the given notif registration in checking --- org.glite.lb.server/src/notif-keeper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.glite.lb.server/src/notif-keeper.sh b/org.glite.lb.server/src/notif-keeper.sh index 4e71848..a1bd957 100644 --- a/org.glite.lb.server/src/notif-keeper.sh +++ b/org.glite.lb.server/src/notif-keeper.sh @@ -123,9 +123,9 @@ function check_timestamp() { if [ $age_check -gt 0 ]; then uniq=`echo ${NOTIFID[${1}]} | sed -r 's/^.*NOTIF://'` - vecho 2 looking at notif file $FilePrefix.$uniq + vecho 2 looking at notif files $FilePrefix.$uniq* if [ -f $FilePrefix.$uniq ]; then - currsize=`wc -c $FilePrefix.$uniq` + currsize=`wc -c $FilePrefix.$uniq* | tail -n 1` else currsize=0; fi -- 1.8.2.3