commit 16693211a9a8ac52659908e81fc4f4f85b841ccf
parent 78bc617bd1d0b969d56dbc265806692b538014ef
Author: Sebastian <sebasjm@taler-systems.com>
Date: Tue, 14 Apr 2026 12:29:51 -0300
fix terms when config fails
it doesnt even check the params. instead when config fails ^C now produce empty string which is validated afterwards
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/taler-terms-generator b/contrib/taler-terms-generator
@@ -28,7 +28,7 @@ AUTHOR="GNU Taler team"
INPUT="exchange-tos-v0"
if taler-exchange-config --version >/dev/null 2>&1
then
- OUTPUT=${TALER_EXCHANGE_TERMS_DIR:-$(taler-exchange-config -s "EXCHANGE" -o "TERMS_DIR" -f)}
+ OUTPUT=${TALER_EXCHANGE_TERMS_DIR:-$(taler-exchange-config -s "EXCHANGE" -o "TERMS_DIR" -f || echo "")}
else
OUTPUT=${TALER_EXCHANGE_TERMS_DIR:-}
fi