diff options
author | Christian Hesse <mail@eworm.de> | 2021-12-17 11:48:25 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-12-17 11:48:25 +0100 |
commit | ee57ddf595851d0068730bea2ef1b55752b6d7bc (patch) | |
tree | a07dde531f323c937e85be2ebc47c387a78d558f /global-functions | |
parent | b936970c19b960294b4cbadfcfe1f917d7762d0d (diff) |
log-forward: fix forwarding first message
Pulling the power cable results in log message on next boot:
dec/16 18:28:28 system,error,critical router rebooted without proper shutdown, probably power outage
This was not forwarded as it had the numeric id 0, which is not greater
than the zero we initialized with. Now initialized with -1 when no log
has been forwarded to fix this.
Diffstat (limited to 'global-functions')
0 files changed, 0 insertions, 0 deletions