dannagle / PacketSender

Network utility for sending / receiving TCP, UDP, SSL, HTTP
https://packetsender.com
GNU General Public License v2.0
2.38k stars 371 forks source link

Console exitcode returns 4 when it should be zero #382

Closed dannagle closed 1 month ago

dannagle commented 1 month ago

Does not happen on every workflow, but most workflows are returning a 4 when it should be zero for success. Bug confirmed on Windows and macOS.

Discussed in https://github.com/dannagle/PacketSender/discussions/381

Originally posted by **lazna** September 30, 2024 regarding my investigation about https://github.com/dannagle/PacketSender/issues/81 just noticed, that PS produce exitcode (%errorlevel%) 4 in every case. is this an intend? Common behaviour of console programs is, that it produce exitcode 0 in case no problem durring runtime. And higher (documentated) number in case of problem.
dannagle commented 1 month ago

Fixed in the development branch.