#ifndef lint
static const char rcsid[] =
- "$Id: optr.c,v 1.24 2001/06/18 11:07:45 stelian Exp $";
+ "$Id: optr.c,v 1.26 2001/08/16 09:37:59 stelian Exp $";
#endif /* not lint */
#include <config.h>
#include <sys/param.h>
#include <sys/wait.h>
#include <sys/time.h>
+#include <time.h>
#include <errno.h>
#include <fstab.h>
FILE *mytty;
time_t firstprompt, when_answered;
+ if (qflag) {
+ msg("%s - forced abort\n", question);
+ dumpabort(0);
+ /* NOTREACHED */
+ }
+
firstprompt = time(NULL);
if ((mytty = fopen(_PATH_TTY, "r")) == NULL)