return non 0 status code in case of missing mount
This commit is contained in:
parent
2dd0066b0e
commit
1347e3332b
|
@ -71,7 +71,7 @@ class Config extends Base {
|
|||
$mount = $this->globalService->getStorage($mountId);
|
||||
} catch (NotFoundException $e) {
|
||||
$output->writeln('<error>Mount with id "' . $mountId . ' not found, check "occ files_external:list" to get available mounts"</error>');
|
||||
return;
|
||||
return 404;
|
||||
}
|
||||
|
||||
$value = $input->getArgument('value');
|
||||
|
|
Loading…
Reference in New Issue