]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
30-hostname: Fix typo: hsort -> hshort
authorDaniel Gröber <dxld@darkboxed.org>
Wed, 12 Jun 2019 17:59:53 +0000 (19:59 +0200)
committerRoy Marples <roy@marples.name>
Wed, 12 Jun 2019 18:49:30 +0000 (19:49 +0100)
hooks/30-hostname

index 00137c7a54b1010ee4eaa1dce3ac8c78b178b9a8..53ae6b1147ee66383311b28220e539e03e4283cb 100644 (file)
@@ -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%%.*}" ]