diff --git a/acme.sh b/acme.sh index 5d22b07..b3ab3d6 100755 --- a/acme.sh +++ b/acme.sh @@ -1032,7 +1032,10 @@ _head_n() { } _tail_n() { - tail -n $1 + if ! tail -n $1 2>/dev/null ; then + #fix for solaris + tail -$1 + fi } # url payload needbase64 keyfile