Skip to content
Snippets Groups Projects
Commit 4e95e606 authored by Till's avatar Till
Browse files

Fixed #6633 Code Error - Jailkit Update on every cron change

parent 31a42f88
No related branches found
No related tags found
1 merge request!18493.2.11p2 fixes
Pipeline #14280 passed
......@@ -229,7 +229,7 @@ class cron_jailkit_plugin {
function _setup_jailkit_chroot()
{
global $app;
global $app, $conf;
if (isset($this->jailkit_config) && isset($this->jailkit_config['jailkit_hardlinks'])) {
if ($this->jailkit_config['jailkit_hardlinks'] == 'yes') {
......@@ -293,7 +293,7 @@ class cron_jailkit_plugin {
$programs = $this->jailkit_config['jailkit_chroot_app_programs'] . ' '
. $this->jailkit_config['jailkit_chroot_cron_programs'];
if ($update_hash == $parent_domain['last_jailkit_hash']) {
if ($update_hash == $this->parent_domain['last_jailkit_hash']) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment