summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index f5b1bd3..10775ba 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -275,8 +275,8 @@ rename_in_db()
/usr/bin/gawk '
/^'"$(quote_re $from)"'$/ \
{ sub(/'"$(quote_re $from)"'/, "'"${to//\"/\\\"}"'")
- print
good=1 }
+ { print }
END { exit(! good) }
' $DB > $tmpfile
if [ $? -eq 0 ]