mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 09:31:07 +00:00
fix for omnios-r151052
This commit is contained in:
parent
709f1e76d3
commit
4e0686f73c
1 changed files with 5 additions and 0 deletions
5
acme.sh
5
acme.sh
|
|
@ -1628,6 +1628,11 @@ _time2str() {
|
|||
return
|
||||
fi
|
||||
|
||||
#Omnios
|
||||
if date -u -r "$1" +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
#Solaris
|
||||
if printf "%(%Y-%m-%dT%H:%M:%SZ)T\n" $1 2>/dev/null; then
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue