diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-07-28 11:51:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-28 11:51:48 +0200 |
commit | 7e6a2a64f09df577f29e024c1d1e6733d6bc1b7c (patch) | |
tree | 2c8867bbd35e1c07756c74041e2fff09e7f9f928 /src/misc1.c | |
parent | 9088784972c0ed72997de8752964d6b587218778 (diff) | |
download | vim-git-7e6a2a64f09df577f29e024c1d1e6733d6bc1b7c.tar.gz |
patch 8.2.3232: system() does not work without a second argumentv8.2.3232
Problem: system() does not work without a second argument.
Solution: Do not require a second argument. (Yegappan Lakshmanan,
closes #8651, closes #8650)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index e66f5a85d..7d7f022f1 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -2359,7 +2359,7 @@ get_cmd_output_as_rettv( if (in_vim9script() && (check_for_string_arg(argvars, 0) == FAIL - || check_for_string_or_number_or_list_arg(argvars, 1) == FAIL)) + || check_for_opt_string_or_number_or_list_arg(argvars, 1) == FAIL)) return; if (argvars[1].v_type != VAR_UNKNOWN) |