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