diff options
author | Mattias Andrée <maandree@kth.se> | 2023-06-23 11:52:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-06-23 11:55:24 +0200 |
commit | b8470f8d7cfdb81827e042c69103bdf07aea12e5 (patch) | |
tree | 16e22f3bde624fb69a4bbe4c417bd53d26c70a93 /key2root-rmkey.c | |
parent | Fix error handling in key2root-rmkey on failure to commit (diff) | |
download | key2root-b8470f8d7cfdb81827e042c69103bdf07aea12e5.tar.gz key2root-b8470f8d7cfdb81827e042c69103bdf07aea12e5.tar.bz2 key2root-b8470f8d7cfdb81827e042c69103bdf07aea12e5.tar.xz |
Add code from key2root-rmkey.c to key2root-addkey.c
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | key2root-rmkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |