From afb0525235c57fc4896633003a45bfb013af38d2 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 16 Mar 2012 13:02:29 +0100 Subject: [PATCH] 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. --- man/i3status.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -------------------------------------------------------------- -- 2.39.5