Skip to content

Commit 40b9bd1

Browse files
committed
Fixed: FS#2449 - Appended \t#domain to cron jobs breaks certain commands
1 parent 02c2c6b commit 40b9bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/cron_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ function _write_crontab() {
217217
}
218218

219219
if($job['type'] == 'chrooted') {
220-
$chr_cron_content .= $command . "\t#{$job['domain']}\n";
220+
$chr_cron_content .= $command . " #{$job['domain']}\n";
221221
$chr_cmd_count++;
222222
} else {
223-
$cron_content .= $command . "\t#{$job['domain']}\n";
223+
$cron_content .= $command . " #{$job['domain']}\n";
224224
$cmd_count++;
225225
}
226226
}

0 commit comments

Comments
 (0)