fix sxheduler state issue

This commit is contained in:
Nicolas Le Goff
2012-04-30 21:02:07 +02:00
parent c37ae56b2e
commit 06ada79219

View File

@@ -53,8 +53,8 @@ class module_console_schedulerState extends Command
if ($state['status'] == 'started') { if ($state['status'] == 'started') {
$output->writeln(sprintf( $output->writeln(sprintf(
'Scheduler is %s on pid %d' 'Scheduler is %s on pid %d'
, $state['schedstatus'] , $state['status']
, $state['schedpid'] , $state['pid']
)); ));
} else { } else {
$output->writeln(sprintf('Scheduler is %s', $state['status'])); $output->writeln(sprintf('Scheduler is %s', $state['status']));