X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-keys/blobdiff_plain/ec3628d8dbd4d112033b4ca79c296ad570222a22..b411de67b5dbe46b58a5d70635c1248c7e189114:/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