Clark Boylan 1d42cffaa1 Make sure we have a hostname when we grep for it
We attempt to set hostname in /etc/hosts if the hostname does not exist
there. However when the $HOSTNAME variable is empty we grep for
/etc/hosts from stdin which has no data. Check that $HOSTNAME is not
empty before we grep for it.

Change-Id: Ie35fd997f2f569ebea6614f91609281a991f8d6a
2014-06-10 20:15:33 -07:00
..
2013-12-04 10:54:52 -08:00