dd7ef76474
1. Use "in-place" variables for if statements to limit their scope to
the respectful `if` block.
2. Report the error returned from sd_journal_* by using CErr().
3. Use errors.New() instead of fmt.Errorf().
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
journald.go | ||
journald_test.go | ||
journald_unsupported.go | ||
read.go | ||
read_native.go | ||
read_native_compat.go | ||
read_unsupported.go |