lib/ronin/cli/commands/asn.rb in ronin-2.0.0 vs lib/ronin/cli/commands/asn.rb in ronin-2.0.1
- old
+ new
@@ -149,10 +149,10 @@
if options[:ip]
if (record = query_ip(options[:ip]))
print_asn_record(record)
else
print_error "could not find a record for the IP: #{options[:ip]}"
- exit -1
+ exit(-1)
end
else
print_asn_records(search_asn_records)
end
end