From: Stefan Breunig Date: Fri, 16 Mar 2012 12:02:29 +0000 (+0100) Subject: add "exit 1" to example shell script. X-Git-Tag: 2.5~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=afb0525235c57fc4896633003a45bfb013af38d2;p=i3%2Fi3status add "exit 1" to example shell script. This will make the script exit if i3bar has been killed or has crashed instead of continuing to run in the background. --- diff --git a/man/i3status.man b/man/i3status.man index 78cec3e..45ccb93 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -335,7 +335,7 @@ use your shell, for example like this: i3status | while : do read line - echo "mystuff | $line" + echo "mystuff | $line" || exit 1 done --------------------------------------------------------------