Kelly Craig wrote:
But, if you type it like this, you will also incure the wrath of CFENGINE!
:)
VarPart = ( ReturnsZero("/bin/sh -c \"df -l | grep \'^/dev\' | awk
\'{print $NF}\' | grep -q \'^/var$\'\"") )
You need to replace the quites like so.
VarPart = ( ReturnsZero('/bin/sh -c \'df -l | grep \'^/dev\' | awk
\'{print $NF}\' | grep -q \'^/var$\'\'') )
What exactly do you mean by wrath? I have is setup using the
double-quotes and everything *seems* to be fine. is there some sort of
time bomb waiting for me?
--
Brandon Evans
"I have a theory that the truth is never told during the nine-to-five
hours."
-Hunter S. Thompson
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine