Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin/ncp
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2022-03-02 18:42:43 +0300
committernachoparker <nacho@ownyourbits.com>2022-03-03 00:53:28 +0300
commit6245770b1d6f1717fd03b2404c0c5a037c9c88ec (patch)
tree3bddf67bf317e1aa3f4901d14747d95d16018a0f /bin/ncp
parenta834ba0013e687f4e5cd430ec292841426e8e46a (diff)
nc-trusted-domains: dont return 1 if last domain is emptyv1.46.3
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r--bin/ncp/CONFIG/nc-trusted-domains.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/CONFIG/nc-trusted-domains.sh b/bin/ncp/CONFIG/nc-trusted-domains.sh
index 8b602712..39144e90 100644
--- a/bin/ncp/CONFIG/nc-trusted-domains.sh
+++ b/bin/ncp/CONFIG/nc-trusted-domains.sh
@@ -13,6 +13,7 @@ configure()
[[ "$DOMAIN1" != "" ]] && ncc config:system:set trusted_domains 20 --value="$DOMAIN1"
[[ "$DOMAIN2" != "" ]] && ncc config:system:set trusted_domains 21 --value="$DOMAIN2"
[[ "$DOMAIN3" != "" ]] && ncc config:system:set trusted_domains 22 --value="$DOMAIN3"
+ return 0
}
install(){ :; }