From 3126eb792816e09ce56f24262447077df1bdc0c3 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 23 Mar 2021 11:51:24 -0400 Subject: No longer using -1 as an exit code --- tests/test_cmd2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index e369a9cf..44d2b304 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -2326,7 +2326,7 @@ class ReplWithExitCode(cmd2.Cmd): self.exit_code = int(arg_list[0]) except ValueError: self.perror("{} isn't a valid integer exit code".format(arg_list[0])) - self.exit_code = -1 + self.exit_code = 1 # Return True to stop the command loop return True -- cgit v1.2.1