Closed mohawk2 closed 7 years ago
On my system, for whatever reason, setting $ENV{LD_PRELOAD} causes a segfault, probably in the shell. This happens before the redirection happens, so the captured text is empty. This is a false positive. The check here avoids that false positive.
$ENV{LD_PRELOAD}
This is a good change. I don't like using and in non-void context so I did it slightly differently.
and
On my system, for whatever reason, setting
$ENV{LD_PRELOAD}
causes a segfault, probably in the shell. This happens before the redirection happens, so the captured text is empty. This is a false positive. The check here avoids that false positive.