Project

General

Profile

« Previous | Next » 

Revision 7e3ca5c2

Added by Michael Moll over 10 years ago

fixes #3874 - extend paths for FreeBSD support

View differences:

lib/proxy/dns/nsupdate.rb
private
def find_nsupdate
@nsupdate = which("nsupdate", "/usr/bin")
@nsupdate = which("nsupdate")
unless File.exists?("#{@nsupdate}")
logger.warn "unable to find nsupdate binary, maybe missing bind-utils package?"
raise "unable to find nsupdate binary"

Also available in: Unified diff