diff options
author | Guillermo Ramos | 2021-09-13 17:14:48 +0200 |
---|---|---|
committer | Guillermo Ramos | 2021-09-13 17:14:48 +0200 |
commit | 413d00a40c43e6f7c6c92f363f71400e04b3d0f5 (patch) | |
tree | 452a4dba23ea10711ed0b383e663cc8d9d1c095a | |
parent | cb2568693f1caf398c4425852e8e496f1fc4a7ba (diff) | |
download | cli-413d00a40c43e6f7c6c92f363f71400e04b3d0f5.tar.gz |
gromo: fix wrong status display
-rwxr-xr-x | gromo | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,6 +93,7 @@ cmd_status() { { tasks[\$1][\$2] = \$3 } END { for (task in tasks) { + gromos = time = 0 for (dur in tasks[task]) { gromos += tasks[task][dur]; time += dur * tasks[task][dur] |