Merge pull request #3475 from jgerhards/legacyOmFile

fix legacy format
This commit is contained in:
Rainer Gerhards 2019-02-17 11:14:52 +01:00 committed by GitHub
commit bc51f99a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ wait_shutdown
# the first message number and calculate based on it what must be
# present in the output file.
presort
let firstnum=$((10#`$RS_HEADCMD -n1 $RSYSLOG_DYNNAME.presort`))
let firstnum=$((10#$($RS_HEADCMD -n1 $RSYSLOG_DYNNAME.presort)))
echo "info: first message expected to be number $firstnum, using that value."
seq_check $firstnum $((messages-1))
exit_test