mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:58:15 +08:00
parent
c1af560753
commit
eb0539af60
@ -1911,7 +1911,10 @@ void reader_run_command(parser_t &parser, const wcstring &cmd) {
|
||||
job_reap(1);
|
||||
|
||||
gettimeofday(&time_after, NULL);
|
||||
set_env_cmd_duration(&time_after, &time_before);
|
||||
|
||||
// update the execution duration iff a command is requested for execution
|
||||
// issue - #4926
|
||||
if (!ft.empty()) set_env_cmd_duration(&time_after, &time_before);
|
||||
|
||||
term_steal();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user