action_build: return 1 for "no" --ask answer
authorZac Medico <zmedico@gentoo.org>
Wed, 29 Feb 2012 15:49:25 +0000 (07:49 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 29 Feb 2012 15:49:25 +0000 (07:49 -0800)
pym/_emerge/actions.py

index 31d53f992d3235a092c00946fa8673a018cf1e18..096dc3a950b70c63a3aa67dc7356c78b9b0bfe1a 100644 (file)
@@ -367,7 +367,7 @@ def action_build(settings, trees, mtimedb,
                        print()
                        print("Quitting.")
                        print()
-                       return os.EX_OK
+                       return 1
                # Don't ask again (e.g. when auto-cleaning packages after merge)
                myopts.pop("--ask", None)