Projet

Général

Profil

Anomalie #2171

Condition IS_NOTUPGRADED

Ajouté par Benoît S. il y a environ 7 ans.

Statut:
Nouveau
Priorité:
Urgent
Assigné à:
-
Version cible:
-
Début:
04/04/2017
Echéance:
% réalisé:

0%


Description

15:26:58 <benpro> +++ zgrep -h upgrade /var/log/dpkg.log             
15:26:58 <benpro> ++ date +%s -d                                     
15:26:58 <benpro> date: option requires an argument -- 'd'           
15:26:58 <benpro> Try 'date --help' for more information.            
15:26:59 <benpro> + last_upgrade=                                    
15:27:10 <benpro> y'a un cas à gérer si le grep retourne rien       

Il semblerait que dans certains cas zgrep -h upgrade /var/log/dpkg.log ne retourne rien et casse le check.
Il faudrait ajouter une condition.

Formats disponibles : Atom PDF