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 ) } -