Download raw body.
tog: ensure stdin is a tty
On 2022/09/03 15:37:31 +0200, Stefan Sperling <stsp@stsp.name> wrote: > On Sat, Sep 03, 2022 at 11:24:47PM +1000, Mark Jamsek wrote: > > This was discussed a while back on IRC to handle such things like: > > > > $ tog < /dev/null > > > > ok? > > Should 'return 1' or exit(1) on error, not return GOT_ERR_IO. given the place where that check is, I'd go with an errx(1, "stardand input is not a tty"); otherwise ok for me! Thanks,
tog: ensure stdin is a tty