Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The stdin version counts log header into the message size, but for example when it reads message from argv[] it counts only message itself. $ logger --stderr --size 3 "abcd" <13>Oct 21 18:48:29 kzak: abc $ echo "abcd" | logger --stderr --size 3 logger: cannot allocate 18446744073709551597 bytes: Cannot allocate memory Upstream: http://github.com/util-linux/util-linux/commit/58e4ee082bca100034791a4a74481f263bb30a25 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2033622 Signed-off-by: Karel Zak <[email protected]>
- Loading branch information