diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-06 15:51:48 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-06 15:52:16 -0800 |
commit | 68b93c624f51da262dc90d5566c666e59c186840 (patch) | |
tree | f6ce97beee067f6ce30550dd9cda9ded8642d1eb /exec.cpp | |
parent | 36fe1e4a463560672cbf8cbfbe45b26fcf2a2377 (diff) |
Move special handling of DISPLAY environment variable from etc/config.fish to fish itself to reduce number of fork calls made at launch
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 ) { |