summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-prepare
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-08-24 22:31:50 -1100
committerMS <ms@taler.net>2021-08-24 22:31:50 -1100
commitf1c684c9478135888da405552dc6bdc407fd2f95 (patch)
tree08f4a566d8930325a34ec0f2ad7a440c29c55ae2 /bin/taler-deployment-prepare
parent695a517a2d20e85da64f02ab9604b2fff74b526e (diff)
downloaddeployment-f1c684c9478135888da405552dc6bdc407fd2f95.tar.gz
deployment-f1c684c9478135888da405552dc6bdc407fd2f95.tar.bz2
deployment-f1c684c9478135888da405552dc6bdc407fd2f95.zip
Fix unbound argument with default expansion (bash).
Diffstat (limited to 'bin/taler-deployment-prepare')
-rwxr-xr-xbin/taler-deployment-prepare2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
index f900eed..ab78d47 100755
--- a/bin/taler-deployment-prepare
+++ b/bin/taler-deployment-prepare
@@ -14,7 +14,7 @@ source "$HOME/activate"
# $1 = {yes,no} indicates WITH_DB_RESET. Defaults to no.
# Helps avoiding color Y destroying the DB while color X is in
# production.
-WITH_DB_RESET=no
+WITH_DB_RESET=${1-no}
if test $1 = yes; then
WITH_DB_RESET=yes