fix: if output is not tty, don't redirect to it