Fix: Remove newline, caused 1-off error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7ab17e5f76
commit
a0d09f6aca
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function get_grep() {
|
||||||
|
|
||||||
updates=$(checkupdates)
|
updates=$(checkupdates)
|
||||||
|
|
||||||
num=$(echo "${updates}" | wc -l)
|
num=$(echo -n "${updates}" | wc -l)
|
||||||
[ $num -gt 0 ] || exit
|
[ $num -gt 0 ] || exit
|
||||||
|
|
||||||
req_restart=""
|
req_restart=""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue