Skip to content

Commit

Permalink
Merge pull request esnet#1251 from esnet/issue-1225
Browse files Browse the repository at this point in the history
Force iperf3 server to exit if it can't open its log file.
  • Loading branch information
bmah888 authored Feb 14, 2022
2 parents a214ba2 + d5c8506 commit e0aa15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iperf_server_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ iperf_run_server(struct iperf_test *test)

if (test->logfile)
if (iperf_open_logfile(test) < 0)
return -1;
return -2;

if (test->affinity != -1)
if (iperf_setaffinity(test, test->affinity) != 0)
Expand Down

0 comments on commit e0aa15a

Please sign in to comment.