summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-09 18:24:06 +0200
committerSimon Rettberg2021-07-09 18:24:06 +0200
commit3ec5dd206025ed1945b31aa1613ba21862e335e4 (patch)
treedb1661e4e4263e255444e3a5ec040e85f0fd0cbf /mltk
parentAdd warning if no action is specified (diff)
downloadmltk-3ec5dd206025ed1945b31aa1613ba21862e335e4.tar.gz
mltk-3ec5dd206025ed1945b31aa1613ba21862e335e4.tar.xz
mltk-3ec5dd206025ed1945b31aa1613ba21862e335e4.zip
Module list: List var needs to be global
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk2
1 files changed, 1 insertions, 1 deletions
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