From f539006ba57b2b9066824d89a8908c57d07bb194 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 25 Feb 2025 07:32:37 -0500 Subject: listamsb: fix boo-boo. --- listamsb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'listamsb.c') diff --git a/listamsb.c b/listamsb.c index 5d9b425..2cebe3e 100644 --- a/listamsb.c +++ b/listamsb.c @@ -267,8 +267,7 @@ void open_output() { perror("/dev/null"); exit(1); } - } - if(raw_output) { + } else if(raw_output) { if(isatty(fileno(stdout))) die("refusing to write raw ATASCII to a terminal"); outfile = stdout; -- cgit v1.2.3