I cannot reproduce this on jammy.
$ echo "some message" | logger -p auth.info --id="$$" $ echo $? 0 $
(using auth.info instead of local0.info because I have the former logged to a log file and the latter not).
I cannot reproduce this on jammy.
$ echo "some message" | logger -p auth.info --id="$$"
$ echo $?
0
$
(using auth.info instead of local0.info because I have the former logged to a log file and the latter not).