Bug#574858: [Logcheck-devel] Bug#574858: logcheck: Does not ignore unresolvable hostname

2010-04-16 Thread Bob Proulx
Hannes von Haugwitz wrote: > Bob Proulx wrote: > > I believe what was intended was the following: > Fixed in 1.3.8. Thanks! >> # Hostname either fully qualified or not. >> if [ $FQDN -eq 1 ]; then >> HOSTNAME=$(hostname --fqdn 2>/dev/null) >>test -z "$HOSTNAME" && HOSTNAME=

Bug#574858: [Logcheck-devel] Bug#574858: logcheck: Does not ignore unresolvable hostname

2010-04-16 Thread Hannes von Haugwitz
tags 574858 +moreinfo thanks Bob Proulx wrote: > I believe what was intended was the following: # Hostname either fully qualified or not. if [ $FQDN -eq 1 ]; then HOSTNAME="$(hostname --fqdn 2>/dev/null)" else HOSTNAME="$(hostname --short 2>/dev/null)" fi Fixed i