summaryrefslogtreecommitdiff
path: root/keywords.pl
diff options
context:
space:
mode:
Diffstat (limited to 'keywords.pl')
-rwxr-xr-xkeywords.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/keywords.pl b/keywords.pl
index 36035705c4..6ede80524c 100755
--- a/keywords.pl
+++ b/keywords.pl
@@ -36,7 +36,7 @@ while (<DATA>) {
print $kw "\n/* ex: set ro: */\n";
-close $kw or die "Error closing keywords.h-new: $!";
+safer_close($kw);
rename_if_different("keywords.h-new", "keywords.h");