summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/merge_xml.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/merge_xml.awk b/scripts/merge_xml.awk
index b0f590690..3f692a8a8 100644
--- a/scripts/merge_xml.awk
+++ b/scripts/merge_xml.awk
@@ -81,7 +81,7 @@ function parse_file(PARSEFILE, FNAME, fname, nwline, comment_count) {
# Test whether file exists
getline <PARSEFILE
- if (ERRNO != 0) {
+ if (length(ERRNO) != 0) {
print "** Error: file '" PARSEFILE "' does not exist!" >>LOG
return
}