Bugfix: Stop command invocation without service

This commit is contained in:
Chris 2022-10-14 00:27:51 +02:00
parent 72c2f36434
commit 3a16d887c0

View File

@ -31,7 +31,7 @@ class StopCommand extends Command
$instanceName = $input->getOption("instance"); $instanceName = $input->getOption("instance");
$stopAll = $input->getOption("all"); $stopAll = $input->getOption("all");
if (!($instanceName || $stopAll)) { if (!($serviceName || $stopAll)) {
$output->writeln("<error>You need to specify a service, or --all</>"); $output->writeln("<error>You need to specify a service, or --all</>");
return self::FAILURE; return self::FAILURE;
} }