Skip to content

Commit 2d730c6

Browse files
committed
Correct check for return values
1 parent 95346c1 commit 2d730c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Command/SetupCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ protected function executeLocked(InputInterface $input, OutputInterface $output)
2323

2424
$command = $this->getApplication()->find('contao:license');
2525

26-
if(!$command->run(new ArrayInput([]), $output)){
26+
if($command->run(new ArrayInput([]), $output)){
2727
return;
2828
}
2929

3030
$command = $this->getApplication()->find('contao:database:update');
3131

32-
if(!$command->run(new ArrayInput([]), $output)){
32+
if($command->run(new ArrayInput([]), $output)){
3333
return;
3434
}
3535

3636
$command = $this->getApplication()->find('contao:database:addAdmin');
3737

38-
if(!$command->run(new ArrayInput([]), $output)){
38+
if($command->run(new ArrayInput([]), $output)){
3939
return;
4040
}
4141

0 commit comments

Comments
 (0)