mirror of https://github.com/pi-hole/pi-hole
This change fixes issue #145 "stty: standard input: Inappropriate ioctl for device ".It checks if a real terminal exist, if not it sets the screen size to a fixed value. This helps to avoid nasty and unnecessary logs when running "pihole -up" via e.g. cron.
Signed-off-by: B. Olausson <contactme@olausson.de>pull/2873/head^2
parent
97e11bd94e
commit
ab1ea5a366
Loading…
Reference in new issue