https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25510

--- Comment #3 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
If I execute:

log4perl_component()
{
    local config=$1
    local component=$2

    if [ grep -q -x "log4perl.logger.$component" $config ]; then
        return 0
    else
        return 1
    fi
}


for site in $(koha-list); do
    log4perl_config="/etc/koha/sites/$site/log4perl.conf"
    if ! log4perl_component $log4perl_config "sip"; then
        echo $site
    fi  
done


I get 
xxx.pl: line 67: [: too many arguments

Looks like we need another change

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to