From: Zdeněk Šustr Date: Wed, 13 Mar 2013 11:02:26 +0000 (+0000) Subject: Do not set ErrCode to EPERM in case event matches notification criteria but permissio... X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=07fc9795fa5f94fe2b274223adafd309afc58d86;p=jra1mw.git Do not set ErrCode to EPERM in case event matches notification criteria but permission check failed. - This is a normal operating condition, not an error to be reported. --- diff --git a/org.glite.lb.server/src/notif_match.c b/org.glite.lb.server/src/notif_match.c index 883cb73..7bae680 100644 --- a/org.glite.lb.server/src/notif_match.c +++ b/org.glite.lb.server/src/notif_match.c @@ -145,7 +145,6 @@ int edg_wll_NotifMatch(edg_wll_Context ctx, const edg_wll_JobStat *oldstat, cons getpid(), ju = glite_jobid_getUnique(newstat.jobId)); free(ju); - edg_wll_SetError(ctx, EPERM, NULL); for (i=0; i