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
 chomp $real_vim;
31
 chomp $real_vim;
32
 my $cmd = join ' ', $real_vim, @ARGV;
32
 my $cmd = join ' ', $real_vim, @ARGV;
33
 system($cmd) == 0
33
 system($cmd) == 0
34
-    or die "vim failed: $!";
34
+    or warn "vim failed: $!";
35
 
35
 
36
 # restore stamps if they have changed
36
 # restore stamps if they have changed
37
 foreach (keys %$original_stamp) {
37
 foreach (keys %$original_stamp) {