From d3e6cd2f67f61e9356d4c3389e0712e039d0a85b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 17 Apr 2008 08:15:01 +0000 Subject: [PATCH] enable to register jobs without subjobs --- org.glite.lb.client/examples/stresslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.glite.lb.client/examples/stresslog.c b/org.glite.lb.client/examples/stresslog.c index 9dc276c..506c62f 100644 --- a/org.glite.lb.client/examples/stresslog.c +++ b/org.glite.lb.client/examples/stresslog.c @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) exit(1); } - if ((njobs <= 0) || (num_subjobs <= 0)) { + if ((njobs <= 0) || (num_subjobs < 0)) { fprintf(stderr,"%s: wrong number of jobs\n",me); usage(); exit(1); -- 1.8.2.3