tbrehm
2012-10-04 40b9bd13cf701203cdeead964d0613d1573c5465
Fixed: FS#2449 - Appended \t#domain to cron jobs breaks certain commands
1 files modified
4 ■■■■ changed files
server/plugins-available/cron_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/cron_plugin.inc.php
@@ -217,10 +217,10 @@
                }
                
                if($job['type'] == 'chrooted') {
                    $chr_cron_content .= $command . "\t#{$job['domain']}\n";
                    $chr_cron_content .= $command . " #{$job['domain']}\n";
                    $chr_cmd_count++;
                } else {
                    $cron_content .= $command . "\t#{$job['domain']}\n";
                    $cron_content .= $command . " #{$job['domain']}\n";
                    $cmd_count++;
                }
            }