diff --git a/scripts/ip-geolocation-maxmind.nse b/scripts/ip-geolocation-maxmind.nse index e450c51df..4ad9a95c0 100644 --- a/scripts/ip-geolocation-maxmind.nse +++ b/scripts/ip-geolocation-maxmind.nse @@ -402,7 +402,7 @@ local GeoIP = { self.__index = self o._filename=filename local err - o._filehandle= assert(io.open(filename,'rb'), "Cannot open Maxmind database file") + o._filehandle= assert(io.open(filename,'rb')) o._databaseType = MaxmindDef.COUNTRY_EDITION o._recordLength = MaxmindDef.STANDARD_RECORD_LENGTH