summaryrefslogtreecommitdiffstats
path: root/autoload/rust.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/rust.vim')
-rw-r--r--autoload/rust.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/rust.vim b/autoload/rust.vim
index 12591399..fe7ddff8 100644
--- a/autoload/rust.vim
+++ b/autoload/rust.vim
@@ -348,7 +348,7 @@ function! s:RmDir(path)
echoerr 'Attempted to delete protected path: ' . a:path
return 0
endif
- silent exe "!rm -rf " . shellescape(a:path)
+ return system("rm -rf " . shellescape(a:path))
endfunction
" Executes {cmd} with the cwd set to {pwd}, without changing Vim's cwd.