exit with 0 in sb-packages when no updates
This commit is contained in:
parent
eb5efd2f1f
commit
64e334412a
1 changed files with 1 additions and 0 deletions
|
@ -6,3 +6,4 @@ icon=""
|
|||
|
||||
num="$(\xbps-install -Sun | grep -c "update")"
|
||||
[ "$num" -gt 0 ] && printf "%b" "$big$icon$reset $num\n"
|
||||
exit
|
||||
|
|
Loading…
Add table
Reference in a new issue