]> git.ipfire.org Git - people/ms/network.git/commit - src/functions/functions.list
list: fix a bug
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 19 Jul 2017 13:21:51 +0000 (15:21 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2017 17:09:35 +0000 (19:09 +0200)
commitc8c968a83651c192440d490809691b3d8d5d25c6
tree99abbe60ff8d44a835add56d93ddeaa261ab79e2
parent2ec74678c5cfd12a0d156d0163d736133107db82
list: fix a bug

When the list is called "list" we have a problem because
${list}="list"
and ${!list}="list"
This creates effects nobody wants and which are also not so easy to understand.
To avoid such problems in the future we now throw an assertation when the list is called list.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.list