diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 35353679..1516f709 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -4872,6 +4872,7 @@ class Cmd(cmd.Cmd): try: # An empty file is not an error, so just return if os.path.getsize(expanded_path) == 0: + self.last_result = True return None # Make sure the file is ASCII or UTF-8 encoded text |