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
..
2014-04-09 20:56:36 +00:00
2014-03-23 08:40:18 -07:00
2014-05-23 11:06:12 +04:00
2013-09-06 13:29:04 -07:00
2014-05-30 20:38:23 +00:00
2014-06-04 17:33:50 -07:00
2014-02-09 15:26:07 -05:00
2013-12-06 15:17:28 -05:00
2014-06-04 17:33:50 -07:00
2014-06-04 17:33:50 -07:00
2012-11-12 18:58:07 +00:00
2013-05-20 20:40:03 +00:00