From f7b6e777bfa83408a02e45fa037b68757da0d6d6 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 7 Nov 2019 22:15:45 -0700 Subject: [PATCH] Revert "Clean up net/log symlinks (#6794)" (#6809) This reverts commit 68353b7e5716229560e082491a2c3e1c843d734d. --- net/.gitignore | 2 +- net/common.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/.gitignore b/net/.gitignore index 245f587c1c..f877c3594f 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 6dbeb004f5..84133019f8 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 -sfh "$netLogDateDir" "$netLogDir" +ln -sf "$netLogDateDir" "$netLogDir" SOLANA_ROOT="$netDir"/.. # shellcheck source=scripts/configure-metrics.sh @@ -131,3 +131,4 @@ _setup_secondary_mount() { fi ) } +