diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-30 09:42:32 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-30 09:42:32 -0700 |
commit | a988da657cb3caa46ceee62fe6abd60f02002ce1 (patch) | |
tree | e403cbaa20a6bbec3e07adfc31ac23c614650b55 /subx | |
parent | 2ec6d1e5250e5a36c919354649c3bc3f17261140 (diff) | |
download | mu-a988da657cb3caa46ceee62fe6abd60f02002ce1.tar.gz |
4620
Diffstat (limited to 'subx')
-rw-r--r-- | subx/028translate.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subx/028translate.cc b/subx/028translate.cc index f2db1bbc..174a863a 100644 --- a/subx/028translate.cc +++ b/subx/028translate.cc @@ -32,7 +32,10 @@ if (is_equal(argv[1], "translate")) { transform(p); if (trace_contains_errors()) return 1; save_elf(p, argv[3]); - if (trace_contains_errors()) unlink(argv[3]); + if (trace_contains_errors()) { + unlink(argv[3]); + return 1; + } return 0; } |