diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-14 14:50:22 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-07-14 14:50:22 +0100 |
commit | 494b083408b354f38da9b1fc5e8ffb7238d009b3 (patch) | |
tree | 4a9122f13b4f36840a2223616b41e3608ae9ba4f /bin/mauveclient | |
parent | e07cea09e884607d6ad005f5e2822251ca31b9ba (diff) |
Fixed mauveclient to obey time multipliers
Fixed logrotate script to rotate the correct script
Init script now uses the correct user
lib/mauve/history.rb is now installed
Further logging cleanups
Diffstat (limited to 'bin/mauveclient')
-rwxr-xr-x | bin/mauveclient | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mauveclient b/bin/mauveclient index 251b45b..e3bc453 100755 --- a/bin/mauveclient +++ b/bin/mauveclient @@ -183,9 +183,9 @@ def parse_time_spec(spec = "now") end multiplier *= case $3 - when ?m then 60 - when ?h then 3600 - when ?d then 86400 + when "m" then 60 + when "h" then 3600 + when "d" then 86400 else 1 end |