From e77dd4c690b469c9ba0bc4d8711031b83e57a937 Mon Sep 17 00:00:00 2001 From: Juha Sointusalo Date: Tue, 25 Sep 2018 22:24:02 +0300 Subject: [PATCH] client: reduce log spamming in GPU detection --- client/gpu_detect.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/gpu_detect.cpp b/client/gpu_detect.cpp index e624bfecbc..a1e931a434 100644 --- a/client/gpu_detect.cpp +++ b/client/gpu_detect.cpp @@ -642,10 +642,12 @@ int COPROCS::launch_child_process_to_detect_gpus() { "[coproc] launching child process at %s", quoted_client_path ); - msg_printf(0, MSG_INFO, - "[coproc] relative to directory %s", - client_dir - ); + if (!is_path_absolute(client_path)) { + msg_printf(0, MSG_INFO, + "[coproc] relative to directory %s", + client_dir + ); + } msg_printf(0, MSG_INFO, "[coproc] with data directory %s", quoted_data_dir