From 3ec5dd206025ed1945b31aa1613ba21862e335e4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 9 Jul 2021 18:24:06 +0200 Subject: Module list: List var needs to be global --- mltk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mltk') diff --git a/mltk b/mltk index 5e227495..0a8f2876 100755 --- a/mltk +++ b/mltk @@ -239,7 +239,7 @@ read_params() { print_usage exit 1 fi - declare "${list_name}=${!list_name} $PARAM" + declare -g "${list_name}=${!list_name} $PARAM" done # exit if no command -- cgit v1.2.3-55-g7522