From bc1f050c425f214322d0f798478ef861dcf1f36d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Jul 2017 22:13:44 +0200 Subject: [PATCH] list: Remove unsafe use of eval Signed-off-by: Michael Tremer --- src/functions/functions.list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/functions.list b/src/functions/functions.list index e65bbd33..13d82ef8 100644 --- a/src/functions/functions.list +++ b/src/functions/functions.list @@ -98,7 +98,7 @@ list_remove() { _list="${_list} ${k}" done - eval "${list}=\"${_list}\"" + assign "${list}" "${_list}" return ${ret} } -- 2.39.2