summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ulogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index 810f828..e7cde39 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -1383,9 +1383,10 @@ int main(int argc, char* argv[])
}
/* command line has precedence on config file */
- if (loglevel)
+ if (loglevel) {
loglevel_ce.u.value = loglevel;
loglevel_ce.flag |= CONFIG_FLAG_VAL_PROTECTED;
+ }
if (ulogd_pidfile) {
if (create_pidfile() < 0)