Kerin Millar 7623b2dc0d Fix test for presence of BASH_LINENO[0]
eval is not some sort of magical sandbox for executing code that might cause
the shell's parser to take exception. Render the test resilient by carrying
it out within a subshell. While at it, position the redirection so that
STDERR is, in fact, muted.

Signed-off-by: Kerin Millar <kfm@plushkava.net>
Reported-by: Paolo Pedroni <paolo.pedroni@iol.it>
Closes: https://bugs.gentoo.org/738810
2021-01-08 10:15:31 +01:00
..
2012-08-08 01:41:42 +02:00
2015-02-22 18:50:16 +01:00
2013-07-30 15:28:25 +02:00
2018-02-07 13:19:24 +01:00
2015-02-04 10:54:03 +01:00
2017-09-06 18:35:44 +02:00
2018-02-07 13:19:24 +01:00
2016-07-27 15:47:47 +02:00
2015-02-04 10:54:03 +01:00