Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16855,17020#msg-17020
Yes, I was using '||' as described until I realized the potential risk. Now that it's been patched we need another way. One way is using the a cron job. Typically I run a schedule that involves both cf-execd and a cron job at intervals. In the cron job I'll do something like cf-execd -F || /usr/local/sbin/cf-failsafe.sh. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine