[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfagent 2.0.4 tries to stat shell pipeline
From: |
Alexander Jolk |
Subject: |
cfagent 2.0.4 tries to stat shell pipeline |
Date: |
Mon, 09 Sep 2002 15:56:49 +0200 |
Hi,
Somewhere between 2.0.0 and 2.0.4, cfengine started stat()ing the
command given to restart a process, whether it has useshell=true or
false. I don't quite see what purpose this code has; wouldn't it be
fine to just try to exec() and give an error if that fails? At least in
the case of `useshell=true' the first word on the given command line is
not necessarily stat()able. Opinions?
Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cfagent 2.0.4 tries to stat shell pipeline,
Alexander Jolk <=