Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
6bdf689d
Commit
6bdf689d
authored
Aug 15, 2021
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/3660
parent
72e3f33f
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
6bdf689d
...
@@ -5745,7 +5745,7 @@ uninstallcronjob() {
...
@@ -5745,7 +5745,7 @@ uninstallcronjob() {
_info "Removing cron job"
_info "Removing cron job"
cr="$($_CRONTAB -l | grep "$PROJECT_ENTRY --cron")"
cr="$($_CRONTAB -l | grep "$PROJECT_ENTRY --cron")"
if [ "$cr" ]; then
if [ "$cr" ]; then
if _exists uname && uname -a | grep
solaris
>/dev/null; then
if _exists uname && uname -a | grep
SunOS
>/dev/null; then
$_CRONTAB -l | sed "/$PROJECT_ENTRY --cron/d" | $_CRONTAB --
$_CRONTAB -l | sed "/$PROJECT_ENTRY --cron/d" | $_CRONTAB --
else
else
$_CRONTAB -l | sed "/$PROJECT_ENTRY --cron/d" | $_CRONTAB -
$_CRONTAB -l | sed "/$PROJECT_ENTRY --cron/d" | $_CRONTAB -
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment