diff --git a/client/gpu_detect.cpp b/client/gpu_detect.cpp index 7f0578f581..e624bfecbc 100644 --- a/client/gpu_detect.cpp +++ b/client/gpu_detect.cpp @@ -661,8 +661,6 @@ int COPROCS::launch_child_process_to_detect_gpus() { NULL }; - chdir(client_dir); - retval = run_program( client_dir, client_path, @@ -672,8 +670,6 @@ int COPROCS::launch_child_process_to_detect_gpus() { prog ); - chdir(data_dir); - if (retval) { if (log_flags.coproc_debug) { msg_printf(0, MSG_INFO,