Commit c9262595 authored by Till Brehm's avatar Till Brehm
Browse files

Path extension for non jailed cronjbs not working.

parent 10b13b85
......@@ -213,7 +213,7 @@ class cron_plugin {
}
$command .= "\t";
if($job['type'] == 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
$command .= $job['command'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment