commit 590248aa69ef5b3a6600e542e912a0201250898c parent 656893f5751dc15ec1ccb3c4cfd5517147f369cf Author: Florian Dold <florian@dold.me> Date: Thu, 13 Nov 2025 22:56:49 +0100 use logical or for fallback, not pipe Diffstat:
| M | contrib/libeufin-dbconfig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/libeufin-dbconfig b/contrib/libeufin-dbconfig @@ -135,7 +135,7 @@ if [ 0 = "$SKIP_BANK" ]; then BANK_DBNAME=$(get_db_name "$(libeufin-bank config get libeufin-bankdb-postgres CONFIG)" "bank") fi if [ 0 = "$SKIP_NEXUS" ]; then - NEXUS_DBNAME=$(get_db_name "$(libeufin-nexus config get nexus-postgres CONFIG 2> /dev/null | libeufin-nexus config get libeufin-nexusdb-postgres CONFIG)" "nexus") + NEXUS_DBNAME=$(get_db_name "$(libeufin-nexus config get nexus-postgres CONFIG 2> /dev/null || libeufin-nexus config get libeufin-nexusdb-postgres CONFIG)" "nexus") fi # If using both components they must use the same database