From: Daniel Gröber Date: Wed, 12 Jun 2019 17:59:53 +0000 (+0200) Subject: 30-hostname: Fix typo: hsort -> hshort X-Git-Tag: v7.2.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03425aea90fe3942d38a20e903986a2464658a99;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%%.*}" ]