Commit 6a8251d9 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Use "exit code" over "return code" when referring to UNIX error codes in displayed differences.

parent f8e436d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -480,7 +480,7 @@ class File(metaclass=abc.ABCMeta):
                        suffix = '{}  [...]'.format(suffix[:max_len])

                difference.add_comment(
                    "Command `{}` exited with return code {}.{}".format(
                    "Command `{}` exited with exit code {}.{}".format(
                        format_cmdline(e.cmd),
                        e.returncode,
                        suffix or " (No output)",