Commit 19ab2a29 authored by neil's avatar neil
Browse files

fix tail for solaris

parent 24b4fe98
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment