Merge pull request #485 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/480
This commit is contained in:
neil 2016-12-21 20:22:43 +08:00 committed by GitHub
commit 2959281d42

View File

@ -3359,7 +3359,7 @@ installcronjob() {
_err "Can not install cronjob, $PROJECT_ENTRY not found." _err "Can not install cronjob, $PROJECT_ENTRY not found."
return 1 return 1
fi fi
if _exists uname && uname -a | grep solaris >/dev/null; then if _exists uname && uname -a | grep SunOS >/dev/null; then
crontab -l | { crontab -l | {
cat cat
echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" > /dev/null" echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" > /dev/null"