Skip to content

Commit fbcb216

Browse files
author
=
committed
added TX ERRORs to exit status display
1 parent e434780 commit fbcb216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hcxdumptool.c

+1
Original file line numberDiff line numberDiff line change
@@ -5460,6 +5460,7 @@ close_lists();
54605460
if(rooterrorflag == true) exit(EXIT_FAILURE);
54615461
if((monitormodeflag == true) || (interfacelistflag == true) || (interfaceinfoflag == true) || (interfacelistshortflag == true)) return EXIT_SUCCESS;
54625462
fprintf(stdout, "\n\033[?25h");
5463+
errorcount += errortxcount;
54635464
fprintf(stderr, "%u ERROR(s) during runtime\n", errorcount);
54645465
if(errorcount > 0) fprintf(stderr, "Possible reasons:\n"
54655466
" driver is broken\n"

0 commit comments

Comments
 (0)