From b3f674244b076df83216ac6ebda0501ee03a0ef9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 15 Jul 2017 18:16:37 +0100 Subject: [PATCH] cryptop.recover: Delete the recovered nub if it doesn't look right. Don't just leave the half-finished thing lying about. --- cryptop.recover | 1 + 1 file changed, 1 insertion(+) diff --git a/cryptop.recover b/cryptop.recover index c4b1e7f..f1fc9db 100755 --- a/cryptop.recover +++ b/cryptop.recover @@ -72,6 +72,7 @@ nubbin=$(nubid <$knub.new) case "$nubbin" in "$nubid") ;; *) + rm -f $knub.new echo >&2 "$quis: recovery produced incorrect nub" exit 1 ;; -- 2.11.0