Skip to content

Commit

Permalink
Merge pull request #6194 from ghen2/hostname
Browse files Browse the repository at this point in the history
Portability: use `uname -n` instead of `hostname`.
  • Loading branch information
Neilpang authored Jan 10, 2025
2 parents cf53707 + b826123 commit 6313020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6813,7 +6813,7 @@ _send_notify() {

_nsource="$NOTIFY_SOURCE"
if [ -z "$_nsource" ]; then
_nsource="$(hostname)"
_nsource="$(uname -n)"
fi

_nsubject="$_nsubject by $_nsource"
Expand Down

0 comments on commit 6313020

Please sign in to comment.