Commit e3db060b authored by nanahira's avatar nanahira

fix again

parent e2b4a1a9
......@@ -117,7 +117,7 @@ void outbound(int raw, int tun) {
perror("outbound read");
}
auto get_var(const char* varname, bool required = true) {
auto get_var(const char* varname, bool required = false) {
auto value = getenv(varname);
if (value == nullptr && required) {
std::cerr << "missing required environment variable: " << varname << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment