summaryrefslogtreecommitdiffstats
path: root/apps/files_external/command/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/command/config.php')
-rw-r--r--apps/files_external/command/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/command/config.php b/apps/files_external/command/config.php
index 0fcf4b22d81..6a57b2dd961 100644
--- a/apps/files_external/command/config.php
+++ b/apps/files_external/command/config.php
@@ -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');