Avoid an error when output piped to another program, e.g. less.