Bug 25510: Put space between negation operator and function name

This patch puts a space between the negation operator ! and
the function name (ie log4perl_component).

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
David Cook 2020-05-18 06:23:07 +00:00 committed by Martin Renvoize
parent 36f671090a
commit 048a6cfc02
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ log4perl_component()
# Take care of the instance's log4perl.conf file
for site in $(koha-list); do
log4perl_config="/etc/koha/sites/$site/log4perl.conf"
if !log4perl_component $log4perl_config "z3950"; then
if ! log4perl_component $log4perl_config "z3950"; then
cat <<EOF >> $log4perl_config
log4perl.logger.z3950 = WARN, Z3950
log4perl.appender.Z3950=Log::Log4perl::Appender::File
@ -159,7 +159,7 @@ log4perl.appender.Z3950.utf8=1
EOF
fi
if !log4perl_component $log4perl_config "api"; then
if ! log4perl_component $log4perl_config "api"; then
cat <<EOF >> $log4perl_config
log4perl.logger.api = WARN, API
log4perl.appender.API=Log::Log4perl::Appender::File
@ -175,7 +175,7 @@ done
for site in $(koha-list); do
log4perl_config="/etc/koha/sites/$site/log4perl.conf"
if !log4perl_component $log4perl_config "sip"; then
if ! log4perl_component $log4perl_config "sip"; then
cat <<EOF >> $log4perl_config
log4perl.logger.sip = DEBUG, SIP
log4perl.appender.SIP=Log::Log4perl::Appender::File