X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..2d4bd0ad2d574ffff2359a88bfcf53e792c3c830:/uip/prompter.c diff --git a/uip/prompter.c b/uip/prompter.c index bc194ffe..35f6860a 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -64,7 +64,6 @@ static struct swit switches[] = { { NULL, 0 } }; -extern int errno; #ifdef HAVE_TERMIOS_H static struct termios tio; @@ -401,7 +400,8 @@ no_body: unlink (tmpfil); context_save (); /* save the context file */ - return done (0); + done (0); + return 1; }