Remove dependency on hostname
This commit is contained in:
parent
09a018ea5a
commit
8061c5ead6
1 changed files with 1 additions and 1 deletions
2
yadm
2
yadm
|
@ -147,7 +147,7 @@ function alt() {
|
|||
|
||||
local_host="$(config local.hostname)"
|
||||
if [ -z "$local_host" ] ; then
|
||||
local_host=$(hostname)
|
||||
local_host=$(uname -n)
|
||||
local_host=${local_host%%.*} #; trim any domain from hostname
|
||||
fi
|
||||
match_host="(%|$local_host)"
|
||||
|
|
Loading…
Reference in a new issue