浏览代码

Revert stamps even if vim failed

Alois Mahdal 11 年前
父节点
当前提交
0fefbd0721
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      bin/vim-bx

+ 1
- 1
bin/vim-bx 查看文件

@@ -31,7 +31,7 @@ my $real_vim = `/usr/bin/env -i which vim`;
31 31
 chomp $real_vim;
32 32
 my $cmd = join ' ', $real_vim, @ARGV;
33 33
 system($cmd) == 0
34
-    or die "vim failed: $!";
34
+    or warn "vim failed: $!";
35 35
 
36 36
 # restore stamps if they have changed
37 37
 foreach (keys %$original_stamp) {