Browse Source
Merge pull request #6194 from ghen2/hostname
Portability: use `uname -n` instead of `hostname`.
pull/6198/head
neil
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
acme.sh
|
@ -6813,7 +6813,7 @@ _send_notify() { |
|
|
|
|
|
|
|
|
_nsource="$NOTIFY_SOURCE" |
|
|
_nsource="$NOTIFY_SOURCE" |
|
|
if [ -z "$_nsource" ]; then |
|
|
if [ -z "$_nsource" ]; then |
|
|
_nsource="$(hostname)" |
|
|
|
|
|
|
|
|
_nsource="$(uname -n)" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
_nsubject="$_nsubject by $_nsource" |
|
|
_nsubject="$_nsubject by $_nsource" |
|
|