Skip to content
Snippets Groups Projects
Commit bcc34628 authored by deuce's avatar deuce
Browse files

Remove non-standard fcloseall() call from prompted exits.

parent 54589e59
No related branches found
No related tags found
No related merge requests found
......@@ -989,7 +989,6 @@ int main(int argc, char **argv)
,totaldelmsgs,ultoac(packable,str));
if(pause_on_error && errlast!=errors) {
fcloseall();
fprintf(stderr,"\7\nHit any key to continue...");
if(!getch())
getch();
......
......@@ -2013,7 +2013,6 @@ ulong loadmsgs(post_t** post, ulong ptr)
void bail(int code)
{
if((code && pause_on_abend) || pause_on_exit) {
fcloseall();
fprintf(stderr,"\nHit any key...");
getch();
fprintf(stderr,"\n");
......
......@@ -1390,7 +1390,6 @@ static int receive_files(char** fname_list, int fnames)
void bail(int code)
{
fcloseall();
if(pause_on_exit || (pause_on_abend && code!=0)) {
printf("Hit enter to continue...");
getchar();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment