summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-06-12 19:59:53 +0200
committerRoy Marples <roy@marples.name>2019-06-12 19:49:30 +0100
commit09aace8348bf4eb93aede3292a2ddb0c9debda28 (patch)
tree46e00a3eaedbe7cc71c226b37cc0467b3e39bc87
parent56659b7a2c22cf20d86e87f8b0bcf3f056f277bd (diff)
30-hostname: Fix typo: hsort -> hshort
-rw-r--r--hooks/30-hostname2
1 files changed, 1 insertions, 1 deletions
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%%.*}" ]