Code Error - Jailkit Update on every cron change
Summary
Every time a cron is edited or added the jailkit update is triggered.
Steps to reproduce
Edit a cron of a website that recently received a jailkit update. => The Update will be triggered every time
Correct behaviour
Only Update if the check hash changed.
Proposed fix
File: /usr/local/ispconfig/server/plugins-enabled/cron_jailkit_plugin.inc.php Function: function _setup_jailkit_chroot
Line 232: global $app;
New Line: global $app, $conf;
Line: 296: if ($update_hash == $parent_domain['last_jailkit_hash']) {
New Line: if ($update_hash == $this->parent_domain['last_jailkit_hash']) {
Edited by WHO