summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 3a6c5a4..609907d 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -463,7 +463,7 @@ filteroldsnapshots() {
463 case ${win} in [0-9]);; [0-9]*[0-9mhdwy]);; *) echo "Unknown window length declaration ${win}"; return ;; esac 463 case ${win} in [0-9]);; [0-9]*[0-9mhdwy]);; *) echo "Unknown window length declaration ${win}"; return ;; esac
464 464
465 # values default to minutes 465 # values default to minutes
466 case ${win} in *h) m=60;; *d) m=1440;; *w) m=10080;; *y) m=*525600;; *) m=1;; esac 466 case ${win} in *h) m=60;; *d) m=1440;; *w) m=10080;; *y) m=525600;; *) m=1;; esac
467 win=$((${win%[mhdwy]}*m*60)) 467 win=$((${win%[mhdwy]}*m*60))
468 468
469 # innerloop $repeats over windows 469 # innerloop $repeats over windows