Skip to content

Commit

Permalink
added TX ERRORs to exit status display
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jul 17, 2024
1 parent e434780 commit fbcb216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -5460,6 +5460,7 @@ close_lists();
if(rooterrorflag == true) exit(EXIT_FAILURE);
if((monitormodeflag == true) || (interfacelistflag == true) || (interfaceinfoflag == true) || (interfacelistshortflag == true)) return EXIT_SUCCESS;
fprintf(stdout, "\n\033[?25h");
errorcount += errortxcount;
fprintf(stderr, "%u ERROR(s) during runtime\n", errorcount);
if(errorcount > 0) fprintf(stderr, "Possible reasons:\n"
" driver is broken\n"
Expand Down

0 comments on commit fbcb216

Please sign in to comment.