comparison contrib/guess-hostname @ 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 71dcdc2020bc
children
comparison
equal deleted inserted replaced
217:889505480a27 218:92b58989a09e
18 hostname 18 hostname
19 19
20 # this file was mentioned on the Internet 20 # this file was mentioned on the Internet
21 cat /etc/HOSTNAME 21 cat /etc/HOSTNAME
22 22
23 ) 2>/dev/null 23 ) 2>/dev/null | uniq
24
25 exit 0