diff options
author | Stefan Breunig <stefan@mathphys.fsk.uni-heidelberg.de> | 2012-03-16 13:02:29 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-03-17 23:26:20 +0100 |
commit | afb0525235c57fc4896633003a45bfb013af38d2 (patch) | |
tree | 3fd5bddf6e8a62612827260e26bbb4a83c6487ed /man/i3status.man | |
parent | 3b9730364a8b83794b08a4e039c2dea4a1aa32ae (diff) |
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.
Diffstat (limited to 'man/i3status.man')
-rw-r--r-- | man/i3status.man | 2 |
1 files changed, 1 insertions, 1 deletions
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 -------------------------------------------------------------- |