enable SNMP to create database parent dirs
Steve Vinoski <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CAO+zUOV9oEYoGiZnopYwH1X9QbLm1Aaa6_QHOWR=D7tdKJ28ug@mail.gmail.com> |
This patch adds a new choice to the db_init_error option for the SNMP manager and agent named create_db_and_dir. Using this causes it to create any missing parent directories for the db_dir rather than treating missing parent dirs as a fatal error. The pull request is here: https://github.com/erlang/otp/pull/83 Many thanks to Micael Karlberg for reviewing the idea and the patch. --steve _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches