diff options
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1238,7 +1238,8 @@ void exec( parser_t &parser, job_t *j ) const char *actual_cmd = actual_cmd_str.c_str(); const wchar_t *reader_current_filename(); - printf("forking for '%s' in '%ls'\n", actual_cmd, reader_current_filename()); + if (g_log_forks) + printf("forking for '%s' in '%ls'\n", actual_cmd, reader_current_filename()); pid = execute_fork(true /* must drain threads */); if( pid == 0 ) { |