Skip to content

Commit

Permalink
Changed removal of keys approach
Browse files Browse the repository at this point in the history
  • Loading branch information
zenodeapp committed Oct 28, 2023
1 parent bf7bfb5 commit 97d1bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reupdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ done
cd ~/.genesisd
if [ -d "$oldest_dir" ]; then
# FIRST REMOVE CURRENT KEYS BEFORE USING THE OLDER BACKUP
find . -mindepth 1 -maxdepth 1 ! -name "data" ! -name "config" -exec rm -rv {} +
find . -maxdepth 1 -type f \( -name "*.info" -o -name "keyhash" -o -name "*.address" \) -exec rm -v {} +

# COPY OLDER KEYS
cd
Expand Down

0 comments on commit 97d1bde

Please sign in to comment.