Fix one-off error (again)

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-07 16:05:53 +01:00
parent e5aaaaa8b9
commit a36d4e0fe2
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -15,7 +15,7 @@ function get_grep() {
updates=$(checkupdates)
num=$(echo -n "${updates}" | wc -l)
num=$(echo "${updates}" | grep -c -- '->')
[ $num -gt 0 ] || exit
req_restart=""