diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-12-01 13:47:56 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-12-01 13:47:56 +0100 |
commit | 1347e3332bafd3ae44327843b06979b75d169034 (patch) | |
tree | f41fda9cc62091e5be1d2313cddd9a8e79dbdab8 /apps | |
parent | 2dd0066b0e1a9dba311f964617f8d7f13a6123bf (diff) | |
download | nextcloud-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.php | 2 |
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'); |