From f28c646336c3d638389aa473457040d2d8097479 Mon Sep 17 00:00:00 2001 From: zorro765 Date: Fri, 11 Dec 2015 00:47:47 +0000 Subject: [PATCH] output should be sent to stdout instead of stderr --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index b3532d6..9dc09dd 100644 --- a/src/main.c +++ b/src/main.c @@ -97,7 +97,7 @@ int main(int argc, char *argv[]) { path = get_config_path(path, pbuf, sizeof(pbuf)); if(!quiet) - fprintf(stderr, LOG_PREFIX "config file found: %s\n", path); + fprintf(stdout, LOG_PREFIX "config file found: %s\n", path); /* Set PROXYCHAINS_CONF_FILE to get proxychains lib to use new config file. */ setenv(PROXYCHAINS_CONF_FILE_ENV_VAR, path, 1); @@ -126,7 +126,7 @@ int main(int argc, char *argv[]) { return EXIT_FAILURE; } if(!quiet) - fprintf(stderr, LOG_PREFIX "preloading %s/%s\n", prefix, dll_name); + fprintf(stdout, LOG_PREFIX "preloading %s/%s\n", prefix, dll_name); #ifdef IS_MAC putenv("DYLD_FORCE_FLAT_NAMESPACE=1");