From e2c939fb97da2dcd578e6aff0acec4b008afde11 Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 21 Dec 2016 20:19:57 +0800 Subject: [PATCH] fix https://github.com/Neilpang/acme.sh/issues/480 --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 691eb7d8..a4375033 100755 --- a/acme.sh +++ b/acme.sh @@ -3359,7 +3359,7 @@ installcronjob() { _err "Can not install cronjob, $PROJECT_ENTRY not found." return 1 fi - if _exists uname && uname -a | grep solaris >/dev/null; then + if _exists uname && uname -a | grep SunOS >/dev/null; then crontab -l | { cat echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" > /dev/null"