aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/rdiff.conf.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb
index c948c2d..c1c8760 100644
--- a/templates/rdiff.conf.erb
+++ b/templates/rdiff.conf.erb
@@ -14,11 +14,10 @@ type = local
when = everyday at 1:<%= i = 0
total = 0
until i == hostname.length
- total += (hostname[i] - 96) / (2.9 * (10 ** (i + 1)))
total += (hostname[i] - 96) / (27.0 ** (i+1))
i += 1
end
- (total*60).to_i %>
+ (total*59).round %>
<% end -%>
<% if include.is_a? String -%>