diff options
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; } |