clear-config.sh now works with a secondary disk (#5135)
This commit is contained in:
@@ -11,7 +11,9 @@ set -e
|
||||
|
||||
for i in "$SOLANA_RSYNC_CONFIG_DIR" "$SOLANA_CONFIG_DIR"; do
|
||||
echo "Cleaning $i"
|
||||
rm -rvf "${i:?}/" # <-- $i might be a symlink, rm the other side of it first
|
||||
rm -rvf "$i"
|
||||
mkdir -p "$i"
|
||||
done
|
||||
|
||||
setup_secondary_mount
|
||||
|
Reference in New Issue
Block a user