return non 0 status code in case of missing mount

This commit is contained in:
Robin Appelman 2015-12-01 13:47:56 +01:00
parent 2dd0066b0e
commit 1347e3332b
1 changed files with 1 additions and 1 deletions

View File

@ -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');