Browse Source

fix tail for solaris

master
neil 8 years ago
parent
commit
19ab2a29ce
  1. 5
      acme.sh

5
acme.sh

@ -1032,7 +1032,10 @@ _head_n() {
} }
_tail_n() { _tail_n() {
tail -n $1
if ! tail -n $1 2>/dev/null ; then
#fix for solaris
tail -$1
fi
} }
# url payload needbase64 keyfile # url payload needbase64 keyfile

Loading…
Cancel
Save