From: Zbigniew Jędrzejewski-Szmek Date: Tue, 11 Oct 2022 11:59:45 +0000 (+0200) Subject: logind: do not emit beep in wall messages X-Git-Tag: v252-rc2~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef3458cd5dc8d5b400c9abbea92986c43aef18cc;p=thirdparty%2Fsystemd.git logind: do not emit beep in wall messages Those may go via the PC speaker, which is annoying and unexpected. Most people have it off, so this doesn't work reliably anyway, so we can disable it without much loss. Fixes #23520. --- diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index c7e89ba6a6a..d2c8473c60f 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -360,7 +360,7 @@ int utmp_wall( } if (asprintf(&text, - "\a\r\n" + "\r\n" "Broadcast message from %s@%s%s%s (%s):\r\n\r\n" "%s\r\n\r\n", un ?: username, hn,