diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-26 15:59:03 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-26 16:58:54 -0700 |
commit | 87fe3d7a9e5ae9503ee89a3d69f8b84a88ad24de (patch) | |
tree | dcbd84449ecf20bb5698b4e28db194996196579c /subx/020elf.cc | |
parent | 4db6b370346d1a2fef2d35c1a64580e93e2bdf0d (diff) | |
download | mu-87fe3d7a9e5ae9503ee89a3d69f8b84a88ad24de.tar.gz |
4426 - error on unrecognized sub-commands
Diffstat (limited to 'subx/020elf.cc')
-rw-r--r-- | subx/020elf.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/020elf.cc b/subx/020elf.cc index 2f6e93f7..1939c1a7 100644 --- a/subx/020elf.cc +++ b/subx/020elf.cc @@ -14,6 +14,7 @@ if (is_equal(argv[1], "run")) { while (EIP < End_of_program) // weak final-gasp termination check run_one_instruction(); dbg << "executed past end of the world: " << EIP << " vs " << End_of_program << end(); + return 0; } :(code) |