modify plugin name

This commit is contained in:
2022-06-08 15:36:27 +08:00
parent 986a271e88
commit 0233acb279
+1 -1
View File
@@ -52,7 +52,7 @@ class ServerCommand extends Command
public function execute(InputInterface $input, OutputInterface $output): int
{
$manager = Kiri::app()->getServer();
$manager->setDaemon((int)$input->hasOption('daemon'));
$manager->setDaemon((int)!is_null($input->getOption('daemon')));
$this->scan_file();