From 4009bbd7795f191a8a3a7dd095ff0d972d301eae Mon Sep 17 00:00:00 2001 From: Daniel Fancsali Date: Fri, 10 Jul 2020 21:51:49 +0100 Subject: [PATCH] Protect postfix variables in options --- cdist/conf/type/__postfix_master/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__postfix_master/gencode-remote b/cdist/conf/type/__postfix_master/gencode-remote index 7c109a69..73de1088 100755 --- a/cdist/conf/type/__postfix_master/gencode-remote +++ b/cdist/conf/type/__postfix_master/gencode-remote @@ -67,7 +67,7 @@ case "$state_should" in remove_entry fi cat << DONE -cat >> "$config" << ${__type##*/}_DONE +cat >> "$config" << "${__type##*/}_DONE" $(cat "$entry") ${__type##*/}_DONE DONE