mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
tests/lib.sh: Minor cleanup.
This commit is contained in:
@@ -88,7 +88,7 @@ run_test() {
|
||||
export COLORED_STDERR_PRE
|
||||
export COLORED_STDERR_POST
|
||||
# And force writes to a file (unless we are testing the force).
|
||||
if test "x$force_write" != x; then
|
||||
if test -n "$force_write"; then
|
||||
COLORED_STDERR_FORCE_WRITE=1
|
||||
export COLORED_STDERR_FORCE_WRITE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user