Looks good. This will go out in the next release.
http://github.com/mojombo/god/commit/616c7da0540b26836516a0e423a6e51e0104038e

Tom


On Fri, Aug 21, 2009 at 12:49 AM, Marko Seppä <[email protected]> wrote:

> 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
>
> >
>


-- 
Tom Preston-Werner
github.com/mojombo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to