diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sysctl/sysctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index 793796d363..62d4c81c47 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -260,6 +260,8 @@ int main(int argc, char *argv[]) { if (r <= 0) return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; + r = 0; + log_set_target(LOG_TARGET_AUTO); log_parse_environment(); log_open(); |