From b8470f8d7cfdb81827e042c69103bdf07aea12e5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Jun 2023 11:52:45 +0200 Subject: Add code from key2root-rmkey.c to key2root-addkey.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- key2root-rmkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'key2root-rmkey.c') diff --git a/key2root-rmkey.c b/key2root-rmkey.c index dd7274d..c55468f 100644 --- a/key2root-rmkey.c +++ b/key2root-rmkey.c @@ -212,7 +212,7 @@ out: } if (writeall(fd, data, data_len)) { fprintf(stderr, "%s: write %s: %s\n", argv0, path2, strerror(errno)); - close(fd) + close(fd); goto saved_failed; } if (close(fd)) { -- cgit v1.2.3-70-g09d2