From 2e0b37a09a964c0e7499c2bff7d4f2d25361e9d9 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Sat, 7 Sep 2024 10:52:32 -0400 Subject: [PATCH] fix syntax error --- tests/lxd/vanilla/provision.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/lxd/vanilla/provision.sh b/tests/lxd/vanilla/provision.sh index ea28a191..6d774d55 100755 --- a/tests/lxd/vanilla/provision.sh +++ b/tests/lxd/vanilla/provision.sh @@ -28,7 +28,7 @@ export NC_PORT=443 export NC_PREFIX=/ export SKIP_SYSTEM_UPDATE=0 tests/system-setup/vanilla.sh --qa-ca --enable-mod=remote-nextcloud -rc=$? +rc=\$? if ! ufw status | grep remote_nextcloud >/dev/null; then # firewall rules aren't added when ciab is down echo 'For testing, allow ldaps from anywhere' @@ -40,7 +40,7 @@ echo 'Add smart host alias - so \$NC_HOST can send mail to/via this host' rest_urlencoded POST /admin/mail/aliases/add qa@abc.com Test_1234 \"address=@\$NC_HOST\" 'description=smart-host' 'permitted_senders=qa@abc.com' 2>/dev/null echo \"\$REST_HTTP_CODE: \$REST_OUTPUT\" ) -exit $rc +exit \$rc " provision_done $? @@ -53,12 +53,12 @@ export PRIMARY_HOSTNAME='${inst}.local' #export FEATURE_NEXTCLOUD=false export SKIP_SYSTEM_UPDATE=0 tests/system-setup/vanilla.sh -rc=$? +rc=\$? # --enable-mod=move-postfix-queue-to-user-data # --enable-mod=roundcube-master # --enable-mod=roundcube-debug # --enable-mod=rcmcarddav-composer -exit $rc +exit \$rc " provision_done $?