chiark / gitweb /
print vprogress messages to files if any -D options specified
[ypp-sc-tools.db-live.git] / pctb / convert.c
index 4ded228f9d130ffb7a40bfb2758872afe6678b4f..4fdb0631dbe48c2ccdbad63a6d18c021b2706242 100644 (file)
@@ -361,7 +361,7 @@ static void vprogress_core(int spinner, const char *fmt, va_list al) {
   int r;
   
   if (o_quiet) return;
-  if (!isatty(2)) return;
+  if (!debug_flags && !isatty(2)) return;
   
   if (last_progress_len)
     putc('\r',stderr);