diff --git a/mod_php-5.3_debian-9_install.sh b/mod_php-5.3_debian-9_install.sh index 0aace6d..5729bb0 100755 --- a/mod_php-5.3_debian-9_install.sh +++ b/mod_php-5.3_debian-9_install.sh @@ -1111,7 +1111,7 @@ fi if $_crontab_found ; then echononl "\tDisable crontab for user root" - crontab -r -u root >> ${logdir}/main.log 2>&1 + crontab -r -u root >> ${_logdir}/main.log 2>&1 if [ "$?" = "0" ]; then echo_ok else diff --git a/mod_php-5.4_debian-9_install.sh b/mod_php-5.4_debian-9_install.sh index 4223eb1..7927d03 100755 --- a/mod_php-5.4_debian-9_install.sh +++ b/mod_php-5.4_debian-9_install.sh @@ -1103,7 +1103,7 @@ fi if $_crontab_found ; then echononl "\tDisable crontab for user root" - crontab -r -u root >> ${logdir}/main.log 2>&1 + crontab -r -u root >> ${_logdir}/main.log 2>&1 if [ "$?" = "0" ]; then echo_ok else diff --git a/mod_php_install.sh b/mod_php_install.sh index a22a646..5f3d47f 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -1961,7 +1961,7 @@ fi if $_crontab_found ; then echononl "\tDisable crontab for user root" - crontab -r -u root >> ${logdir}/main.log 2>&1 + crontab -r -u root >> ${_logdir}/main.log 2>&1 if [ "$?" = "0" ]; then echo_ok else