From 34399db6978cd4a263c729d23f13e549b9c2d862 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Gr=C3=B6ber?= Date: Wed, 12 Jun 2019 19:59:53 +0200 Subject: [PATCH] 30-hostname: Fix typo: hsort -> hshort --- hooks/30-hostname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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%%.*}" ] -- 2.47.2