[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to get stderr ouput from scripts?
From: |
Predrag Zecevic - Solaris System Administrator |
Subject: |
how to get stderr ouput from scripts? |
Date: |
Tue, 14 Jun 2005 09:43:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.8) Gecko/20050512 |
Hi,
I cannot recall that somebody mentioned this problem:
* suppose that I have cfengine conf file which has rules for
modifying some application conf file (editfiles section, and for
example httpd.conf)
* after editing httpd.conf file, normal action would be to restart
apache (shellcommands section)
* and it looks like it doesn't meter if I pass '-x' switch to shell
(/etc/init.d/apache file) or not: I will always get same output
from cfengine restart (Inform=On)
Question is how to get stderr out from cfengine?
BTW: version 2.1.11/RHES3
--
| Predrag Zecevic | e-Mail: Predrag.Zecevic@2e-Systems.COM |
| 2e Systems GmbH | Tel: (+49)[0]6107 989 415 |
|Im Taubengrund 12| Fax: (+49)[0]6107 989 494 |
|65451 Kelsterbach| |
| Germany | Cellular: (+49)[0]174 3109 288 |
+=================+
Cynic, n.: Experienced.