diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-02-07 12:55:29 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-02-07 12:57:16 -0500 |
commit | bfe349f90dccc4a4ea23e2fd0c8f5cd5d10f1fc1 (patch) | |
tree | 051c9c965ea2a2dd294535c19a6cb741f8b37bec /tests/stddirs.sh | |
parent | dd5df1f8997550c5bf49205578027715b957bd01 (diff) | |
download | bfs-bfe349f90dccc4a4ea23e2fd0c8f5cd5d10f1fc1.tar.xz |
tests/color: Use /dev/tty over $TTY
$TTY is the actual TTY, e.g. /dev/pts/3, which may not be accessible by
the current user. This can happen e.g. if the PTY is owned by root, who
then does
root@host# su user
user@host$ ./tests/tests.sh
./tests/color.sh: line 81: /dev/pts/3: Permission denied
Diffstat (limited to 'tests/stddirs.sh')
0 files changed, 0 insertions, 0 deletions