summaryrefslogtreecommitdiff
path: root/rc/filetype/diff-parse.pl
diff options
context:
space:
mode:
Diffstat (limited to 'rc/filetype/diff-parse.pl')
-rwxr-xr-xrc/filetype/diff-parse.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/filetype/diff-parse.pl b/rc/filetype/diff-parse.pl
index 203e9b19..7453b2b3 100755
--- a/rc/filetype/diff-parse.pl
+++ b/rc/filetype/diff-parse.pl
@@ -9,8 +9,8 @@ sub quote {
}
sub fail {
my $reason = shift;
- print "set-register e fail " . quote("diff-parse.pl: $reason");
- exit;
+ print quote("diff-parse.pl: $reason");
+ exit 1;
}
my $begin;