generate-alt-random: ioctl(TIOCGWINSZ) may fail in run inside a container

This _should_ only happen when we’re doing a partial PGO build, since
then the script is run in the parent terminal. In this case, the user
is expected to use --rows/--cols anyway.
This commit is contained in:
Daniel Eklöf 2020-12-21 13:40:53 +01:00
parent 6a03567490
commit 68dd9c17d5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 15 additions and 5 deletions

View file

@ -34,6 +34,7 @@
to fail.
* Background color when alpha < 1.0 being wrong
(https://codeberg.org/dnkl/foot/issues/249).
* `generate-alt-random.py` failing in containers.
### Security