Clark Boylan 87a64d1587 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-02 15:16:57 -08:00
2013-07-23 11:59:46 -07:00
2014-04-07 15:58:11 -07:00
2014-05-23 14:14:42 -07:00