do not trap if hostname is empty
authorHarald Hoyer <harald@redhat.com>
Mon, 25 May 2009 13:26:40 +0000 (15:26 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 25 May 2009 13:32:30 +0000 (15:32 +0200)
modules.d/40network/dhclient-script

index 7689e04..ca3a2fb 100755 (executable)
@@ -64,6 +64,7 @@ setup_interface() {
     [ -e /hostname.set ] || {
        [ -n "$hostname" ] && mknod /hostname.set p && run hostname $hostname
     }
+    :
 }
 
 case $reason in