mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
parent
0f6e25a9e4
commit
41ce69811a
@ -14863,6 +14863,8 @@ static void get_system_output_as_rettv(typval_T *argvars, typval_T *rettv,
|
||||
if (retlist) {
|
||||
// return an empty list when there's no output
|
||||
rettv_list_alloc(rettv);
|
||||
} else {
|
||||
rettv->vval.v_string = (char_u *) xstrdup("");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user