Skip to content

Commit

Permalink
Restore -E option, which has became core(5) implementation after
Browse files Browse the repository at this point in the history
incomplete removal in b364496. Instead of dumping core,
print error message directing user to the "stderror_enabled=yes"
at the script level.
  • Loading branch information
sobomax committed May 31, 2023
1 parent 8bafdd0 commit 1467a11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,10 @@ int main(int argc, char** argv)
case 'F':
no_daemon_mode=1;
break;
case 'E':
LM_ERR("-E option deprecated since 3.4, set \"stderror_enabled=yes\" "
"at the script level instead\n");
goto error00;
case 'N':
tcp_workers_no=strtol(optarg, &tmp, 10);
if ((tmp==0) ||(*tmp)){
Expand Down

0 comments on commit 1467a11

Please sign in to comment.