From a988da657cb3caa46ceee62fe6abd60f02002ce1 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 30 Sep 2018 09:42:32 -0700 Subject: 4620 --- subx/028translate.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'subx') 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; } -- cgit 1.4.1-2-gfad0