[PATCH] checkupdates: Use `pacman -Qu`'s exit code
Daniel M. Capella
polyzen at archlinux.org
Wed Apr 17 02:35:50 UTC 2019
Closes FS#62336
Signed-off-by: Daniel M. Capella <polyzen at archlinux.org>
---
src/checkupdates.sh.in | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/checkupdates.sh.in b/src/checkupdates.sh.in
index 1d01fda..3db2e8b 100644
--- a/src/checkupdates.sh.in
+++ b/src/checkupdates.sh.in
@@ -59,6 +59,4 @@ if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /
fi
pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]'
-exit 0
-
# vim: set noet:
--
2.21.0
More information about the pacman-contrib
mailing list