# HG changeset patch # User meillo@marmaro.de # Date 1279743013 -7200 # Node ID 92b58989a09e0f3ac94c96d114da55bdf0c9fc8c # Parent 889505480a27b955e3d64cedbc632c7d59c2a4d0 small improvement of guess-hostname uniq'ed the output and always exit successful diff -r 889505480a27 -r 92b58989a09e contrib/guess-hostname --- a/contrib/guess-hostname Mon Jul 19 14:11:53 2010 +0200 +++ b/contrib/guess-hostname Wed Jul 21 22:10:13 2010 +0200 @@ -20,4 +20,6 @@ # this file was mentioned on the Internet cat /etc/HOSTNAME -) 2>/dev/null +) 2>/dev/null | uniq + +exit 0