1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Properly report unknowns

This commit is contained in:
Bert Peters 2019-06-10 16:55:12 +02:00
parent d272622bb0
commit 6cb5c9e104

View file

@ -54,7 +54,7 @@ EOM
;;
*)
updates="$(checkupdates)" || exit
updates="$(checkupdates)" || echo "updates.value U" && exit
if [ -n "$updates" ]; then
echo "updates.value $(echo "$updates" | wc -l)"
echo "updates.extinfo $(echo "$updates" | paste -s -d,)"