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