projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca8d273
)
Fix condition in is_log_flushed
author
Davin McCall
<davmac@davmac.org>
Sun, 5 Jun 2016 20:25:53 +0000
(21:25 +0100)
committer
Davin McCall
<davmac@davmac.org>
Sun, 5 Jun 2016 20:25:53 +0000
(21:25 +0100)
src/dinit-log.cc
patch
|
blob
|
history
diff --git
a/src/dinit-log.cc
b/src/dinit-log.cc
index 5d79971a940afd3f402b78c0d9f6c0231ec21d36..cc278e9e978254c7e1db6905ac41488cd7b9ab2c 100644
(file)
--- a/
src/dinit-log.cc
+++ b/
src/dinit-log.cc
@@
-182,7
+182,7
@@
void init_log(ServiceSet *sset) noexcept
bool is_log_flushed() noexcept
{
- return log_stream[DLOG_CONS].current_index
>
0;
+ return log_stream[DLOG_CONS].current_index
==
0;
}
// Enable or disable console logging. If disabled, console logging will be disabled on the