Skip to content

Commit

Permalink
fix typo in inc/cpcheck.inc apache_protect function
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed May 15, 2016
1 parent 9a9a008 commit 5879e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/cpcheck.inc
Expand Up @@ -754,7 +754,7 @@ imagick_fixes() {
}

apache_protect() {
if [[ -z "$(crontab -l 2>&1 | grep 'apacheprotect.sh')" && -f "${SCRIPT_DIR}/tools/autoprotect.sh" ]]; then
if [[ -z "$(crontab -l 2>&1 | grep 'autoprotect.sh')" && -f "${SCRIPT_DIR}/tools/autoprotect.sh" ]]; then
crontab -l > cronjoblist
echo "11 */23 * * * ${SCRIPT_DIR}/tools/autoprotect.sh" >> cronjoblist
crontab cronjoblist
Expand Down

0 comments on commit 5879e91

Please sign in to comment.