diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-05 17:21:28 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-05 17:21:28 +0000 |
commit | 974d151ef8587d5ba3b6442eec500fefb18b4a9c (patch) | |
tree | 233326ecdc75955f0048c64e999018260c15293a /src/main.c | |
parent | 1102a95296e39f671efe51bb6bd9b30e5c14c91e (diff) | |
download | conntrack-tools-974d151ef8587d5ba3b6442eec500fefb18b4a9c.tar.gz conntrack-tools-974d151ef8587d5ba3b6442eec500fefb18b4a9c.zip |
fix logfiles permissions, do not default to umask
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -246,10 +246,8 @@ int main(int argc, char *argv[]) /* * Setting up logging */ - if (config_set && init_log() == -1) { - fprintf(stderr, "can't open logfile `%s\n'", CONFIG(logfile)); + if (config_set && init_log() == -1) exit(EXIT_FAILURE); - } if (type == REQUEST) { if (do_local_request(action, &conf.local, local_step) == -1) { |