*** star/extract.c.orig Sat May 17 23:05:43 1997 --- star/extract.c Sat May 17 22:54:55 1997 *************** *** 230,240 **** char ans; int err = EX_BAD; extern FILE *tty; ! ! printf("remove ? Y(es)/N(o) :");flush(); ! fgetline(tty, buf, 2); ! if ((ans = toupper(buf[0])) == 'Y') { /* * only unlink non directories or empty --- 230,242 ---- char ans; int err = EX_BAD; extern FILE *tty; + extern BOOL interactive; ! if (interactive) { ! printf("remove ? Y(es)/N(o) :");flush(); ! fgetline(tty, buf, 2); ! } ! if (!interactive || (ans = toupper(buf[0])) == 'Y') { /* * only unlink non directories or empty