Hi all,
the disk usage conditions that ships with God does not work if the
filesystem name is long. Could this line be changed so that it uses
the POSIX formatting that does not split the line like the current
solution:
usage = `df | grep -i " #{self.mount_point}$" | awk '{print $5}' | sed
's/%//'`
to
usage = `df -P | grep -i " #{self.mount_point}$" | awk '{print $5}' |
sed 's/%//'`
Here is also a gist that demonstrates the problem and solution:
http://gist.github.com/171714
I also made a pull request week a go for this but it seems like it
went unnoticed, so I posted this here too.
-- Marko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---