Skip to content

Commit 7724bff

Browse files
111ypukmac-cain13
authored andcommitted
fix run loop
1 parent 52aa402 commit 7724bff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Wrep/Daemonizable/Command/EndlessCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function __construct(?string $name = null)
4646
$this->addOption('run-once', null, InputOption::VALUE_NONE,
4747
'Run the command just once, do not go into an endless loop');
4848
$this->addOption('detect-leaks', null, InputOption::VALUE_NONE, 'Output information about memory usage');
49+
$this->setCode($this->runloop(...));
4950
}
5051

5152
public function __invoke(InputInterface $input, OutputInterface $output): int

0 commit comments

Comments
 (0)