summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnetzbon/main.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/netzbon/main.sh b/netzbon/main.sh
index 0259886..3f9efb4 100755
--- a/netzbon/main.sh
+++ b/netzbon/main.sh
@@ -57,7 +57,7 @@ if test -z "${MASTER_PUBLIC_KEY:-}"; then
fi
if test -z "${SANDBOX_ADMIN_PASSWORD:-}"; then
read -r -s -p "Enter the admin password for the bank: " SANDBOX_ADMIN_PASSWORD
- echo "SANDBOX_ADMIN_PASSWORD=\"${SANDBOX_ADMIN_PASSWORD}\"" >>config/user.conf
+ echo "SANDBOX_ADMIN_PASSWORD=$(printf '%q' "${SANDBOX_ADMIN_PASSWORD}") >>config/user.conf
echo "" # force new line
fi
if test -z "${DOMAIN_NAME:-}"; then