Commit 9378229c authored by Dunedan's avatar Dunedan Committed by Russell Keith-Magee
Browse files

Merge pull request #6389 from Dunedan/ticket_25420

Fixed #25420 -- Documented bash completion exit code behavior.
parent 103d4e1d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -276,7 +276,10 @@ class ManagementUtility(object):
                if option[1]:
                    opt_label += '='
                print(opt_label)
        sys.exit(1)
        # Exit code of the bash completion function is never passed back to
        # the user, so it's safe to always exit with 0.
        # For more details see #25420.
        sys.exit(0)

    def execute(self):
        """