I have the following shellcommands line: "/sbin/iptables-save | /bin/grep -q '^:INPUT DROP' || /bin/echo 'iptables disabled?'"
which has worked through several versions until 2.2.2. The message I'm now getting is: ...: scripts or commands must have absolute path names ...: concerns: INPUT DROP' || /bin/echo 'iptables disabled?' It seems to me, without digging into it in detail, that cfengine is treating single and double quotes interchangeably - so that the single quote after -q matches the leading double quote. Is this a bug or an intended change of behaviour? I notice that Build2DListFromVarstring in 2Dlist.c, which I think is where the problem is, has undergone a bit of a rewrite since 2.2.1. Jim _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
