1
0
Fork 0

Fix: Remove newline, caused 1-off error

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-05 22:46:22 +01:00
parent 7ab17e5f76
commit a0d09f6aca
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

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