Package: geoip-bin
Severity: wishlist
Version: 1.4.6.dfsg-4

Hi,
we've got a couple of minor changes to geoipupdate at work to allow us
to use it in an automated fashion.
These are attached.
-Thom
--- geoip-1.4.6.dfsg.orig/apps/geoipupdate.c
+++ geoip-1.4.6.dfsg/apps/geoipupdate.c
@@ -97,6 +97,7 @@
 			exit(0);
 		case 'v':
 			verbose = 1;
+			break;
 		case 'f':
 			license_file = optarg;
 			break;
@@ -279,5 +280,5 @@
 	if (client_ipaddr) {
 		free(client_ipaddr);
 	}
-	exit(0);
+	exit(err);
 }

Reply via email to