test fix bug check update

This commit is contained in:
vincent 2018-06-27 19:10:06 +02:00
parent 8690d64f73
commit ebe17e5507

View File

@ -1,6 +1,6 @@
#!/bin/sh
updates=$(checkupdates | wc -l)
updates=$(checkupdates 2>/dev/null | wc -l)
if [ "$updates" -gt 0 ]; then
echo "# $updates"