Skip to content

Commit c926259

Browse files
author
Till Brehm
committed
Path extension for non jailed cronjbs not working.
1 parent 10b13b8 commit c926259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/cron_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function _write_crontab() {
213213
}
214214

215215
$command .= "\t";
216-
if($job['type'] == 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
216+
if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
217217
$command .= $job['command'];
218218
}
219219

0 commit comments

Comments
 (0)