projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e6f93
)
man/sd-notify: /bin/bash -> /bin/sh, read -> read -r in example
author
наб
<nabijaczleweli@nabijaczleweli.xyz>
Sun, 12 Dec 2021 19:28:39 +0000
(20:28 +0100)
committer
наб
<nabijaczleweli@nabijaczleweli.xyz>
Sun, 12 Dec 2021 20:13:50 +0000
(21:13 +0100)
man/systemd-notify.xml
patch
|
blob
|
history
diff --git
a/man/systemd-notify.xml
b/man/systemd-notify.xml
index 3fed92ef0eedf40a2526fda18e290f83dd21fa60..1327d2315508f0bd597b5160ce47a98b496e3d45 100644
(file)
--- 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:</para>
- <programlisting>#!/bin/
ba
sh
+ <programlisting>#!/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 …