From: Zdeněk Šustr Date: Mon, 19 Mar 2012 15:34:45 +0000 (+0000) Subject: Include all files for the given notif registration in checking X-Git-Tag: glite-jobid-api-c_R_2_1_2_1~27 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f14f20ccf78aaa22a6ff744346cf9a8301cdada0;p=jra1mw.git Include all files for the given notif registration in checking --- 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