From 077d74d9ca088383811b6e4090d39d1b6e60820b Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 14 Nov 2017 11:41:23 +0100 Subject: [PATCH] saubermann: avoid error exit code from aptitude search --- saubermann | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saubermann b/saubermann index ecfe869..e54df74 100755 --- a/saubermann +++ b/saubermann @@ -34,7 +34,7 @@ if is_debian; then find /etc -name "*.dpkg-*" -or -name "*.ucf-*" echo "== Orphan packages according to aptitude" - aptitude search "~o" + aptitude search "~o" || exit 0 elif is_fedora; then # check for things not installed via RPM and other junk