mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 02:10:41 +01:00
fix deprecated bash expression
detected by codefactor
This commit is contained in:
parent
bed6562e42
commit
234bee2e7a
@ -106,7 +106,7 @@ shutdown_when_empty
|
||||
wait_shutdown
|
||||
|
||||
# now the spool directory must be empty
|
||||
spoolFiles=`ls ${RSYSLOG_DYNNAME}.spool/`
|
||||
spoolFiles=$(ls ${RSYSLOG_DYNNAME}.spool/)
|
||||
|
||||
if [[ ! -z $spoolFiles ]]; then
|
||||
echo "FAIL: spool directory is not empty!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user