Only display minutes in the I2C error logger script.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
startTime=`date +%s`
|
||||
while true; do
|
||||
s="$((`date +%s`-$startTime))"
|
||||
echo "$((s/60/60)):$((s/60)):$((s))"
|
||||
echo "$((s/60))m"
|
||||
for i in `seq 0 5`; do ./get-slave-i2c-errors.js $i; done
|
||||
done
|
||||
) 2>&1 | tee $1
|
||||
|
||||
Reference in New Issue
Block a user