From 68353b7e5716229560e082491a2c3e1c843d734d Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Thu, 7 Nov 2019 23:45:19 -0500 Subject: [PATCH] Clean up net/log symlinks (#6794) --- net/.gitignore | 2 +- net/common.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/.gitignore b/net/.gitignore index f877c3594..245f587c1 100644 --- a/net/.gitignore +++ b/net/.gitignore @@ -1,2 +1,2 @@ /config/ -/log/ +/log diff --git a/net/common.sh b/net/common.sh index 84133019f..6dbeb004f 100644 --- a/net/common.sh +++ b/net/common.sh @@ -19,7 +19,7 @@ if [[ -d $netLogDir && ! -L $netLogDir ]]; then mv "$netLogDir" "$netDir"/log.old fi mkdir -p "$netConfigDir" "$netLogDateDir" -ln -sf "$netLogDateDir" "$netLogDir" +ln -sfh "$netLogDateDir" "$netLogDir" SOLANA_ROOT="$netDir"/.. # shellcheck source=scripts/configure-metrics.sh @@ -131,4 +131,3 @@ _setup_secondary_mount() { fi ) } -