aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.bash b/lib/util.bash
index a387d8b..2ac3eb6 100644
--- a/lib/util.bash
+++ b/lib/util.bash
@@ -162,7 +162,7 @@ pp_duration() {
printf "%dh %02dm %02ds\n" \
"$((diff / 60 / 60))" \
- "$((diff / 60))" \
+ "$((diff / 60 % 60))" \
"$((diff % 60))"
}