diff options
| author | Daniel Gröber <dxld@darkboxed.org> | 2019-06-12 19:59:53 +0200 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-06-12 19:49:30 +0100 |
| commit | 03425aea90fe3942d38a20e903986a2464658a99 (patch) | |
| tree | 46e00a3eaedbe7cc71c226b37cc0467b3e39bc87 | |
| parent | 364d43e78b8155016099135c6ea9380114de3f08 (diff) | |
| download | dhcpcd-03425aea90fe3942d38a20e903986a2464658a99.tar.xz | |
30-hostname: Fix typo: hsort -> hshort
| -rw-r--r-- | hooks/30-hostname | 2 |
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%%.*}" ] |
