Commit e6283ede authored by cmosh's avatar cmosh

Account for hardworker (No breaks)

parent 84cb3881
......@@ -370,8 +370,13 @@ cmd_finish() {
echo "$TIME_USED" >> ".seconds-feature-$NAME"
if [ -f .breaktime-feature-$NAME ];
then
TOTAL_BREAK_TIME=$(awk '{ sum += $1 } END { print sum }' .breaktime-feature-$NAME)
else
TOTAL_BREAK_TIME=0
fi
TOTAL_TIME=$(awk '{ sum += $1 } END { print sum }' .seconds-feature-$NAME)
TIME_EXPECTED=$(head -n 1 .timelog-feature-$NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment