~broder/squid-deb-proxy/no-output-on-error

Viewing all changes in revision 60.

  • Committer: Evan Broder
  • Date: 2011-11-14 23:53:09 UTC
  • Revision ID: evan@ebroder.net-20111114235309-y1oym71mt9hujc1n
apt-avahi-discover: Only print anything if the proxy URL is successfully resolved

If it fails to find a proxy for any reason (i.e. there is no proxy
being advertised on Avahi, or Avahi is down), it previously would
print "http://:/", which apt would dutifully try to use.

If nothing is printed, apt will ignore it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: