From: Michael Tremer Date: Fri, 21 Jul 2017 20:38:19 +0000 (+0200) Subject: Remove overcomplicated list assignment which doesn't work X-Git-Tag: 009~122 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6eb85c5787a4d3acebec1acd40aa5fb1e86affa5;p=people%2Fms%2Fnetwork.git Remove overcomplicated list assignment which doesn't work Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.list b/src/functions/functions.list index fa604275..7e96cdf6 100644 --- a/src/functions/functions.list +++ b/src/functions/functions.list @@ -22,13 +22,6 @@ # Functions for nice handling of lists. # -list_set() { - local list=${1} - shift - - assign "${list}" "$@" -} - list_append() { local list=${1} assert isset list diff --git a/src/functions/functions.vpn-security-policies b/src/functions/functions.vpn-security-policies index 5bc92087..79a217aa 100644 --- a/src/functions/functions.vpn-security-policies +++ b/src/functions/functions.vpn-security-policies @@ -503,7 +503,7 @@ vpn_security_policies_cipher(){ fi done - list_set CIPHER ${ciphers_set} + CIPHER="${ciphers_set}" # Perform incremental updates else