diff options
author | Jiri Pinkava <j-pi@seznam.cz> | 2013-02-26 20:16:47 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-02-27 01:20:56 +0100 |
commit | 5c583c418d138a0153ab6348d602073fbfd6217f (patch) | |
tree | 5548a5c74dbd8f741410193243c13a016492ffea | |
parent | b6c4d4ee4602fc34d0e9049bd61d0ac4babb78bf (diff) |
contrib: fix premature insetion of status message into JSON
Pass first 2 lines of JSON unmodified. It contains protocol version
and start of block of blocks of status messages.
-rw-r--r--[-rwxr-xr-x] | contrib/measure-net-speed-i3status.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/measure-net-speed-i3status.bash b/contrib/measure-net-speed-i3status.bash index 9f9e5ce..4eec33b 100755..100644 --- a/contrib/measure-net-speed-i3status.bash +++ b/contrib/measure-net-speed-i3status.bash @@ -18,7 +18,7 @@ # status_command measure-net-speed-i3status.bash # } -i3status | (read line && echo $line && while : +i3status | (read line && echo $line && read line && echo $line && while : do read line dat=$(measure-net-speed.bash) |