From 4b6546abbc0f79c1696474e75975b5334ab4ac60 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Wed, 16 Dec 2020 18:46:24 +0700 Subject: [PATCH] Supress errors when app hidden service does not yet exist --- scripts/app | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/app b/scripts/app index 555728a..690ba8d 100755 --- a/scripts/app +++ b/scripts/app @@ -81,7 +81,7 @@ compose() { export BITCOIN_DATA_DIR="${UMBREL_ROOT}/bitcoin" export LND_DATA_DIR="${UMBREL_ROOT}/lnd" export APP_DATA_DIR="${app_data_dir}" - export APP_HIDDEN_SERVICE="$(cat "${app_hidden_servive_file}" || echo "notyetset.onion")" + export APP_HIDDEN_SERVICE="$(cat "${app_hidden_servive_file}" 2>/dev/null || echo "notyetset.onion")" docker-compose \ --env-file "${env_file}" \ --project-name "${app}" \