Russell Van Tassell wrote: > What about something like... > > classes: > is_pipe = ( > ReturnsZero(/bin/sh -c ' > /bin/test -p /path/to/pipe > ') > )
Yeah, that is better. And I was only using /bin/sh -c '' for the shell output redirection. So one could also just do: classes: is_pipe = ( ReturnsZero(/bin/test -p /path/to/pipe) ) _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine