We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2eb03a commit 32fd4caCopy full SHA for 32fd4ca
func/domain.sh
@@ -988,14 +988,14 @@ is_base_domain_owner(){
988
parse_object_kv_list "$web"
989
if [ -z "$ALLOW_USERS" ] || [ "$ALLOW_USERS" != "yes" ]; then
990
# Don't care if $basedomain all ready exists only if the owner is of the base domain is the current user
991
- is_domain_new "" $basedomain;
+ check=$(is_domain_new "" $basedomain)
992
if [ $? -ne 0 ]; then
993
echo "Error: $basedomain belongs to a different user";
994
exit 4;
995
fi
996
997
else
998
- is_domain_new "" "$basedomain"
+ check=$(is_domain_new "" "$basedomain")
999
1000
1001
0 commit comments