Menu

#57 Replace ultrabayd unsafe echo of BEL character with printf

Unstable (example)
open
nobody
None
5
2024-09-20
2024-09-20
No

The contrib/ultrabayd script uses echo -n "\07" > /dev/tty1 to beep the system speaker. Using echo with backslash control characters is not safe across different shells. This patch replaces that echo with an invocation of printf instead.

See https://wiki.ubuntu.com/DashAsBinSh#echo

1 Attachments

Discussion


Log in to post a comment.