aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r--src/nvim/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index a9c1fec0b4..4db84a4f12 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -1117,7 +1117,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
free(command);
- if (i != 0) { /* mch_call_shell() failed */
+ if (i) { /* os_call_shell() failed */
os_remove((char *)tempname);
free(tempname);
/*