From: Mark Wooding Date: Thu, 20 Sep 2012 00:00:30 +0000 (+0100) Subject: keyfunc.sh: Fix a couple of messages. X-Git-Tag: 0.99.2~13 X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-keys/commitdiff_plain/1581d63e281564dbd7889f911773c862c80f04fc keyfunc.sh: Fix a couple of messages. One adjusted for length; the other has a spurious `current' removed, since it may in fact be referring to an outdated recovery key. --- diff --git a/keyfunc.sh.in b/keyfunc.sh.in index 6cba169..98354d1 100644 --- a/keyfunc.sh.in +++ b/keyfunc.sh.in @@ -621,14 +621,14 @@ recover () { rdir=$KEYS/recov/$recov/$inst if [ ! -f $rdir/$label.recov ]; then - echo >&2 "$quis: no blob for \`$label' under recovery key \`$recov/$inst'" + echo >&2 "$quis: recovery key \`$recov/$inst' has no blob for \`$label'" exit 1 fi reqsafe tag=$recov.$inst nub=$SAFE/keys.reveal/$tag/nub if [ ! -f $nub ]; then - echo >&2 "$quis: current recovery key \`$recov/$inst' not revealed" + echo >&2 "$quis: recovery key \`$recov/$inst' not revealed" exit 1; fi mktmp