Bugfix: Stop command invocation without service
This commit is contained in:
		@@ -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;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user