logd: implement oneshot mode for stream log read
authorFelix Fietkau <nbd@nbd.name>
Mon, 6 Nov 2017 10:27:46 +0000 (11:27 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 6 Nov 2017 10:27:59 +0000 (11:27 +0100)
commitbdcacad90830722339d1f11e5a1edfe5002c5ec2
tree61ee5707989895fbd5e18b52b821d7cb497c1816
parentdf30c8ca1fead2fbae8e6a3bbf70df11b2308c4a
logd: implement oneshot mode for stream log read

This will terminate the connection after all log messages have been
sent. Useful for logread without follow

Signed-off-by: Felix Fietkau <nbd@nbd.name>
log/logd.c