masqmail

changeset 218:92b58989a09e

small improvement of guess-hostname uniq'ed the output and always exit successful
author meillo@marmaro.de
date Wed, 21 Jul 2010 22:10:13 +0200
parents 889505480a27
children c5d319418813
files contrib/guess-hostname
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/contrib/guess-hostname	Mon Jul 19 14:11:53 2010 +0200
     1.2 +++ b/contrib/guess-hostname	Wed Jul 21 22:10:13 2010 +0200
     1.3 @@ -20,4 +20,6 @@
     1.4  # this file was mentioned on the Internet
     1.5  cat /etc/HOSTNAME
     1.6  
     1.7 -) 2>/dev/null
     1.8 +) 2>/dev/null | uniq
     1.9 +
    1.10 +exit 0