support/mkusers: rename variable to avoid name clashing
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 3 Mar 2017 22:07:20 +0000 (23:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Mar 2017 10:56:51 +0000 (11:56 +0100)
commit00d34e8a6f378653a384c66d68f9a65e13b8034f
treea52f7e43ceaa2e342a1cd7a21b870cf756a573f0
parent7372c80cc5b07b25d5ee5bc9909ed807a9e69fd7
support/mkusers: rename variable to avoid name clashing

The LINES variable is automatically set by bash to represent the number
of lines in the terminal. That variable can be set when the shell
receives SIGWINCH.

If the shell does receive SIGWINCH after our LINES array is filled, the
content of the array is mangled.

Rename the variable to avoid that.

Fixes #9456

Reported-by: George Y. <georgebrmz@oss3d.com>
Reported-by: Paul Stewart <paulstewartis@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/mkusers