Browse Source

Merge pull request #485 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/480
neil 8 years ago
parent
commit
2959281d42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
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"