summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-01 13:47:56 +0100
committerRobin Appelman <icewind@owncloud.com>2015-12-01 13:47:56 +0100
commit1347e3332bafd3ae44327843b06979b75d169034 (patch)
treef41fda9cc62091e5be1d2313cddd9a8e79dbdab8 /apps
parent2dd0066b0e1a9dba311f964617f8d7f13a6123bf (diff)
downloadnextcloud-server-1347e3332bafd3ae44327843b06979b75d169034.tar.gz
nextcloud-server-1347e3332bafd3ae44327843b06979b75d169034.zip
return non 0 status code in case of missing mount
Diffstat (limited to 'apps')
-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');