[PATCH] -f option does not trigger configure mode anymore

Carl Chenet carl.chenet at ohmytux.com
Fri May 1 21:05:38 UTC 2009


---
 bin/reportbug |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reportbug b/bin/reportbug
index be27a5c..b53d0e0 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -961,7 +961,7 @@ class UI(object):
             attachments = []
 
         if utils.first_run():
-            if not self.args:
+            if not self.args and not self.options.searchfor:
                 offer_configuration(self.options)
                 main()
                 sys.exit(0)
@@ -999,7 +999,7 @@ class UI(object):
                     ewrite("reportbug stopped.\n")
                     sys.exit(1)
 
-        if (utils.first_run() and not self.args):
+        if (utils.first_run() and not self.args and not self.options.searchfor):
             offer_configuration(self.options)
             ewrite('To report a bug, please rerun reportbug.\n')
             sys.exit(0)
-- 
1.5.4.3


--=-2AUBI8MsqM9i9zLa3b+M--






More information about the Reportbug-maint mailing list