This commit is contained in:
Bob Mottram 2018-04-08 13:56:02 +01:00
commit d506ba3e05
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ shred -zu "$FRAGMENTS_DIR/backup_privkey.txt"
shred -zu "$FRAGMENTS_DIR/backup_pubkey.txt" shred -zu "$FRAGMENTS_DIR/backup_pubkey.txt"
KEY_SHARES=$((KEY_FRAGMENTS * 2)) KEY_SHARES=$((KEY_FRAGMENTS * 2))
if ! gfsplit -n "$KEY_FRAGMENTS" -m "$KEY_SHARES $KEYS_FILE"; then if ! gfsplit -n "$KEY_FRAGMENTS" -m $KEY_SHARES "$KEYS_FILE"; then
echo $"Unable to split the gpg key" echo $"Unable to split the gpg key"
rm -rf "$FRAGMENTS_DIR" rm -rf "$FRAGMENTS_DIR"
if [ -f "$KEYS_FILE" ]; then if [ -f "$KEYS_FILE" ]; then