diff options
author | Matthieu Baerts <matthieu.baerts@tessares.net> | 2022-11-30 15:06:27 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-01 20:06:06 -0800 |
commit | 5f17f8e315ad77c7ba45afe169b4598efd5d5bc3 (patch) | |
tree | 57f5eec9c958c7f35ad40b629eba2590e3544379 /net/mptcp | |
parent | de2392028a19e6841cd0ef14b9c832a7a2bc3a69 (diff) |
selftests: mptcp: declare var as local
Just to avoid classical Bash pitfall where variables are accidentally
overridden by other functions because the proper scope has not been
defined.
That's also what is done in other MPTCP selftests scripts where all non
local variables are defined at the beginning of the script and the
others are defined with the "local" keyword.
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp')
0 files changed, 0 insertions, 0 deletions