summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 05b7b7e)
raw | patch | inline | side by side (parent: 05b7b7e)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 Mar 2007 13:07:23 +0000 (15:07 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 Mar 2007 13:07:23 +0000 (15:07 +0200) |
src/logfile.c | patch | blob | history |
diff --git a/src/logfile.c b/src/logfile.c
index d251284ba1ed89b22d976002ada5e635c4e09ee3..ceee7b80c10d8aeddb40f2a75d961c64a0927f9c 100644 (file)
--- a/src/logfile.c
+++ b/src/logfile.c
else if (0 == strcasecmp (key, "File")) {
sfree (log_file);
- if (access (value, W_OK) == 0)
+ if ((strcasecmp (value, "stdout") == 0)
+ || (strcasecmp (value, "stderr") == 0)
+ || (access (value, W_OK) == 0))
log_file = strdup (value);
else {
char errbuf[1024];