Browse Source

Revert stamps even if vim failed

Alois Mahdal 11 years ago
parent
commit
0fefbd0721
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/vim-bx

+ 1
- 1
bin/vim-bx View File

@@ -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) {