From: Tomas Mudrunka Date: Thu, 2 Aug 2012 23:58:47 +0000 (+0200) Subject: Asynchronous ploting should have some locking... keep it simple = disable X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=827dfbda6acc8180db1d9631213763d7e68d3bda;p=mirrors%2FPrograms.git Asynchronous ploting should have some locking... keep it simple = disable --- diff --git a/c/goertzel/sleepmon.sh b/c/goertzel/sleepmon.sh index 4dfc426..0d32b65 100755 --- a/c/goertzel/sleepmon.sh +++ b/c/goertzel/sleepmon.sh @@ -40,7 +40,7 @@ arecord | ./goertzel -n i -q -l c -t $tresh -d 4 | while read line; do echo -ne "\t$level After $after secs"; } echo; - ./sleepplot.sh "$out" &>/dev/null & + ./sleepplot.sh "$out" &>/dev/null lastdate="$date"; done | tee "$out" kill $pid_test