Projet

Général

Profil

antivirus.diff

Emmanuel GARETTE, 03/02/2012 22:46

Télécharger (551 octets)

Voir les différences:

/usr/share/eole/diagnose/module/151-antivirus 2012-02-03 22:39:37.582330965 +0100
7 7
    EchoGras "*** Anti-virus"
8 8
    IS_OK=0
9 9
    . /etc/eole/clamd-reload.cnf
10
    #FIXME: $CLAMD_CONTAINER est vide en mode sans conteneur !
11 10
    for container in $CLAMD_CONTAINER; do
12
        RunCmd "/usr/bin/clamd-eole -p" $container
11
        RunCmd "/usr/bin/clamd-eole -p" $container > /dev/null 2>&1
13 12
        [ ! $? = 0 ] && IS_OK=1
14 13
    done
15 14
    printf ".  %${len_pf}s => " "Anti-virus"