r323 - trunk/varnish-tools/fetcher

des at projects.linpro.no des at projects.linpro.no
Wed Jul 5 13:40:24 CEST 2006


Author: des
Date: 2006-07-05 13:40:24 +0200 (Wed, 05 Jul 2006)
New Revision: 323

Modified:
   trunk/varnish-tools/fetcher/fetcher.c
Log:
Don't return zero if we caught a signal.

Modified: trunk/varnish-tools/fetcher/fetcher.c
===================================================================
--- trunk/varnish-tools/fetcher/fetcher.c	2006-07-05 11:09:11 UTC (rev 322)
+++ trunk/varnish-tools/fetcher/fetcher.c	2006-07-05 11:40:24 UTC (rev 323)
@@ -187,5 +187,5 @@
 	fprintf(stderr, "%d requests in %.3f seconds (%d rps)\n",
 	    i, elapsed / 1000000, (int)(i / (elapsed / 1000000)));
 
-	exit(0);
+	exit(got_sig);
 }




More information about the varnish-commit mailing list