static char sccsid
[] = "@(#)wrapup.c 4.3 (Berkeley) %G%";
/* this routine does not use 'system' because it wants interrupts turned off */
execl("/bin/stty", "stty", "new", 0);
execl("/bin/rm", "rm", "-rf", dir
, 0);
execl("/usr/bin/rm", "rm", "-rf", dir
, 0);
fprintf(stderr
, "Wrapup: can't find 'rm' command.\n");
if ((fp
=fopen(learnrc
, "w")) == NULL
)
fprintf(fp
, "%s %s %d\n", sname
, todo
, speed
);
printf("Bye.\n"); /* not only does this reassure user but it
stalls for time while deleting directory */