aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-16 05:10:44 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-16 05:10:44 +0300
commitdd3ea1fabfeca2b2429fa0c14ebf96831c54c0ef (patch)
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.
-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
@@ -395,3 +395,3 @@ main(int argc, char **argv)
if (wy_log_to_stderr == -1)
- wy_log_to_stderr = (!daemon_mode || foreground) && isatty(0);
+ wy_log_to_stderr = !daemon_mode || foreground;

Return to:

Send suggestions and report system problems to the System administrator.