Skip to content

Commit

Permalink
feat: add optional environment variable LOGPROXY_CHMOD to change logf… (
Browse files Browse the repository at this point in the history
#33)

…iles mode
  • Loading branch information
thebaptiste authored Feb 21, 2022
1 parent 718f3a0 commit 465caa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ void set_default_values_from_env()
}
}

if ( chmod == NULL ) {
if ( chmod_str == NULL ) {
env_val = g_getenv("LOGPROXY_CHMOD");
if ( env_val != NULL ) {
chmod = (gchar *)env_val;
chmod_str = (gchar *)env_val;
}
}
}
Expand Down

0 comments on commit 465caa6

Please sign in to comment.