diff options
author | Colin Walters <walters@verbum.org> | 2013-08-16 14:22:11 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-08-16 14:22:11 -0400 |
commit | f3d2529b96025039ee86c70aad054b5e22b09df1 (patch) | |
tree | 8ef8833064fedfb8643f1492d891e3eb52c89236 | |
parent | 4501b425953c3849112206c4a3f6f27cd3264936 (diff) | |
download | libgsystem-f3d2529b96025039ee86c70aad054b5e22b09df1.tar.gz |
gsystem-log: Fix double-logging on non-systemd systems
I was getting duplicated output on RHEL6.
-rw-r--r-- | gsystem-log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsystem-log.c b/gsystem-log.c index df6e288..ef0c563 100644 --- a/gsystem-log.c +++ b/gsystem-log.c @@ -132,8 +132,10 @@ gs_log_structured_print (const char *message, { gs_log_structured (message, keys); +#ifdef ENABLE_SYSTEMD_JOURNAL if (!gs_stdout_is_journal ()) g_print ("%s\n", message); +#endif } /** |