neil 2023-09-20 18:07:16 +08:00
parent 8565a853a8
commit 59f976dc48

View File

@ -2118,12 +2118,7 @@ _tail_n() {
}
_tail_c() {
if _is_solaris; then
#fix for solaris
tail -"$1"c
else
tail -c "$1"
fi
tail -c "$1" 2>/dev/null || tail -"$1"c
}
# url payload needbase64 keyfile