From 0233acb27956d2677da15e2fd426b6a1909a0b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 8 Jun 2022 15:36:27 +0800 Subject: [PATCH] modify plugin name --- ServerCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServerCommand.php b/ServerCommand.php index 7addee5..c22e2e2 100644 --- a/ServerCommand.php +++ b/ServerCommand.php @@ -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();