From: Fabian Grünbichler Date: Fri, 17 Apr 2020 13:11:05 +0000 (+0200) Subject: proxmox-acme: fix readaccountconf X-Git-Url: https://git.proxmox.com/?p=proxmox-acme.git;a=commitdiff_plain;h=1a8ba4f0723be5d4fdd59649899a5a58925f1263 proxmox-acme: fix readaccountconf by switching to bash and echoing the values passed in from the plugin config. plugins like the OVH config attempt to detect and handle changed config by comparing set env variables and values stored in the config, leading to confusing output otherwise. Signed-off-by: Fabian Grünbichler --- diff --git a/src/proxmox-acme b/src/proxmox-acme index 49a86ad..db609ed 100644 --- a/src/proxmox-acme +++ b/src/proxmox-acme @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/bash VER=0.9 @@ -516,7 +516,7 @@ _err() { # key _readaccountconf() { - echo "$1" + echo "${!1}" } # key