Skip to content

Commit 6245770

Browse files
committed
nc-trusted-domains: dont return 1 if last domain is empty
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent a834ba0 commit 6245770

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bin/ncp/CONFIG/nc-trusted-domains.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ configure()
1313
[[ "$DOMAIN1" != "" ]] && ncc config:system:set trusted_domains 20 --value="$DOMAIN1"
1414
[[ "$DOMAIN2" != "" ]] && ncc config:system:set trusted_domains 21 --value="$DOMAIN2"
1515
[[ "$DOMAIN3" != "" ]] && ncc config:system:set trusted_domains 22 --value="$DOMAIN3"
16+
return 0
1617
}
1718

1819
install(){ :; }

changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

2-
[v1.46.2](https://github.com/nextcloud/nextcloudpi/commit/6f53314) (2022-03-02) samba: fix usernames with spaces
2+
[v1.46.3](https://github.com/nextcloud/nextcloudpi/commit/0de1479) (2022-03-02) nc-trusted-domains: dont return 1 if last domain is empty
33

4-
[v1.46.1](https://github.com/nextcloud/nextcloudpi/commit/b4ef137) (2022-03-02) nc-datadir: include dotfiles
4+
[v1.46.2 ](https://github.com/nextcloud/nextcloudpi/commit/2ba1478) (2022-03-02) samba: fix usernames with spaces
5+
6+
[v1.46.1 ](https://github.com/nextcloud/nextcloudpi/commit/b4ef137) (2022-03-02) nc-datadir: include dotfiles
57

68
[v1.46.0 ](https://github.com/nextcloud/nextcloudpi/commit/2b59e26) (2022-03-01) upgrade to NC23.0.2
79

0 commit comments

Comments
 (0)