summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-06-12 19:59:53 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-06-12 19:59:53 +0200
commit34399db6978cd4a263c729d23f13e549b9c2d862 (patch)
tree0890e70a51d7dfb60e8e10660e96cd6261bb93ea /hooks
parent038b299827d75f00c7e88b16b66ea819a096ed21 (diff)
downloaddhcpcd-34399db6978cd4a263c729d23f13e549b9c2d862.tar.xz
30-hostname: Fix typo: hsort -> hshort
Diffstat (limited to 'hooks')
-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%%.*}" ]