From a9402e5d8e75f7f361a5754e91180ed4f4ee98e1 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 2 Feb 2010 09:47:58 -0500 Subject: Enable debug_timestamps by default It can be overridden in the sssd.conf or on the commandline with --debug-timestamps=0 --- server/providers/child_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/providers/child_common.c') diff --git a/server/providers/child_common.c b/server/providers/child_common.c index 154f56dd..2ad0f04e 100644 --- a/server/providers/child_common.c +++ b/server/providers/child_common.c @@ -297,7 +297,7 @@ static errno_t prepare_child_argv(TALLOC_CTX *mem_ctx, bool child_debug_timestamps = debug_timestamps; if (child_debug_to_file) argc++; - if (child_debug_timestamps) argc++; + if (!child_debug_timestamps) argc++; /* program name, debug_level, * debug_to_file, debug_timestamps @@ -326,8 +326,8 @@ static errno_t prepare_child_argv(TALLOC_CTX *mem_ctx, } } - if (child_debug_timestamps) { - argv[--argc] = talloc_strdup(argv, "--debug-timestamps"); + if (!child_debug_timestamps) { + argv[--argc] = talloc_strdup(argv, "--debug-timestamps=0"); if (argv[argc] == NULL) { ret = ENOMEM; goto fail; -- cgit