X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/distorted-keys/blobdiff_plain/ae0eb8989b3100de7b410f0cbffbee48495b9591..6f9b975f5613cd0dd6c744d7efdfe51e4113ab04:/keys.list-keepers diff --git a/keys.list-keepers b/keys.list-keepers index 297c83e..da47af4 100755 --- a/keys.list-keepers +++ b/keys.list-keepers @@ -45,6 +45,10 @@ if [ -d $KEYS/recov ]; then for r in *; do if [ ! -d $r ]; then continue; fi + ## Collect the current instance number. + rcur=$(readlink $r/current) + eval rcur_$r=\$rcur + ## Now work through the instances of this recovery key. for ri in $r/*; do