Projet

Général

Profil

Révision d272622b

IDd272622bb01e7b30fb9799a2ccd6fadeabad821d
Parent 914180fe
Enfant 6cb5c9e1

Ajouté par Bert Peters il y a plus de 6 ans

Exit when retrieving updates fails.

Voir les différences:

plugins/other/pacman_pending_updates
25 25

  
26 26
=head1 VERSION
27 27

  
28
  1.1.0
28
  1.1.1
29 29

  
30 30
=head1 AUTHOR
31 31

  
......
54 54
		;;
55 55

  
56 56
	*)
57
		updates="$(checkupdates)"
57
		updates="$(checkupdates)" || exit
58 58
		if [ -n "$updates" ]; then
59 59
			echo "updates.value $(echo "$updates" | wc -l)"
60 60
			echo "updates.extinfo $(echo "$updates" | paste -s -d,)"

Formats disponibles : Unified diff