From 7b7ff9c82e12e1ecf3a481cc4134e7cc1096689f Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 3 Nov 2011 14:24:30 +0100 Subject: [PATCH] [equo] if equo match finds nothing, return exit status 1 --- client/text_query.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/text_query.py b/client/text_query.py index 70e124a6d..fc8df1327 100644 --- a/client/text_query.py +++ b/client/text_query.py @@ -1000,6 +1000,8 @@ def match_package(packages, entropy_client, multi_match = False, if get_results: return rc_results + if not found: + return 1 return 0 def search_slotted_packages(slots, entropy_client):