From: Daniel Gröber Date: Wed, 12 Jun 2019 17:59:53 +0000 (+0200) Subject: 30-hostname: Fix typo: hsort -> hshort X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6%2Fhead;p=thirdparty%2Fdhcpcd.git 30-hostname: Fix typo: hsort -> hshort --- diff --git a/hooks/30-hostname b/hooks/30-hostname index 00137c7a..53ae6b11 100644 --- a/hooks/30-hostname +++ b/hooks/30-hostname @@ -80,7 +80,7 @@ need_hostname() set_hostname_vars if [ -n "$old_fqdn" ]; then - if ${hfqdn} || ! ${hsort}; then + if ${hfqdn} || ! ${hshort}; then [ "$hostname" = "$old_fqdn" ] else [ "$hostname" = "${old_fqdn%%.*}" ]