summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-07-16 02:10:44 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-07-16 02:10:44 (GMT)
commitdd3ea1fabfeca2b2429fa0c14ebf96831c54c0ef (patch) (side-by-side diff)
treee6b5b3a26b2ba6beefa46b71e98baa906e09ad41
parentab6db76c77ea6480b307e43107bf570eb90d95eb (diff)
downloadwydawca-dd3ea1fabfeca2b2429fa0c14ebf96831c54c0ef.tar.gz
wydawca-dd3ea1fabfeca2b2429fa0c14ebf96831c54c0ef.tar.bz2
Bugfix
* src/wydawca.c (main): logging to stderr does not depend on whether stdin is a tty or not.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/wydawca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wydawca.c b/src/wydawca.c
index 6232f45..0803aa7 100644
--- a/src/wydawca.c
+++ b/src/wydawca.c
@@ -393,7 +393,7 @@ main(int argc, char **argv)
single_process = single_process_option;
if (wy_log_to_stderr == -1)
- wy_log_to_stderr = (!daemon_mode || foreground) && isatty(0);
+ wy_log_to_stderr = !daemon_mode || foreground;
grecs_log_to_stderr = wy_log_to_stderr;
if (!wy_log_to_stderr) {

Return to:

Send suggestions and report system problems to the System administrator.