On Fri, 11 Nov 2005, Mark Burgess wrote:
Nathan,
binning cats is cruel so cfengine doesn't allow you to gloat with "yada
yada" afterwards.
Umm.. ok :)
Actually this has to do with the fact that no shell is used to wrap the
command. It could be useful to have a functino which does wrap too. For
now you can do /bin/sh to hush up the cruelty.
The exact line that is causing the hang is:
CurrentLoad = ( ExecResult(/bin/sh -c "/bin/cat /proc/loadavg | /bin/awk '{print
$1}' | tr -d '\n'") )
Is that not correct? It does work in 2.1.14, which is why I'm perplexed.
Thanks!
-n
--
-------------------------------------------
nathan hruby <[EMAIL PROTECTED]>
uga enterprise information technology services
production systems support
-------------------------------------------
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine