Fix net.sh for running on macos (#4107)

automerge
This commit is contained in:
Pankaj Garg 2019-05-01 16:03:35 -07:00 committed by Grimes
parent aac626c2c2
commit 598f765960
1 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@ startNode() {
"
) >> "$logFile" 2>&1 &
declare pid=$!
ln -sfT "fullnode-$ipAddress.log" "$netLogDir/fullnode-$pid.log"
ln -sf "fullnode-$ipAddress.log" "$netLogDir/fullnode-$pid.log"
pids+=("$pid")
}
@ -575,7 +575,7 @@ stopNode() {
) >> "$logFile" 2>&1 &
declare pid=$!
ln -sfT "stop-fullnode-$ipAddress.log" "$netLogDir/stop-fullnode-$pid.log"
ln -sf "stop-fullnode-$ipAddress.log" "$netLogDir/stop-fullnode-$pid.log"
if $block; then
wait $pid
else