diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml index 3fed92ef0e..1327d23155 100644 --- a/man/systemd-notify.xml +++ b/man/systemd-notify.xml @@ -166,13 +166,13 @@ after having set up its communication channel. During runtime it sends further status updates to the init system: - #!/bin/bash + #!/bin/sh mkfifo /tmp/waldo systemd-notify --ready --status="Waiting for data…" while : ; do - read a < /tmp/waldo + read -r a < /tmp/waldo systemd-notify --status="Processing $a" # Do something with $a …