From 9ce7fe6dde58b37880dfbf5b607b72ea4ddc981c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 24 Apr 2023 12:26:15 +0200 Subject: use printf --- netzbon/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3