Skip to content

Commit

Permalink
report unexpected env vars as notice only (closes #1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Jul 13, 2024
1 parent ad364c6 commit 9c3371c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ebusd/main_args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ int parse_main_args(int argc, char* argv[], char* envp[], options_t *opt) {
logWrite(lf_main, ll_error, "invalid argument in env: %s", *env); // force logging on exit
return EINVAL;
}
logWrite(lf_main, ll_error, "invalid/unknown argument in env (ignored): %s", *env); // force logging
logWrite(lf_main, ll_notice, "invalid/unknown argument in env (ignored): %s", *env); // force logging
}
}

Expand Down

0 comments on commit 9c3371c

Please sign in to comment.