summaryrefslogtreecommitdiff
path: root/testnet
diff options
context:
space:
mode:
Diffstat (limited to 'testnet')
-rwxr-xr-xtestnet/run-local-testnet.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/testnet/run-local-testnet.sh b/testnet/run-local-testnet.sh
index 91132c01..eb0a7053 100755
--- a/testnet/run-local-testnet.sh
+++ b/testnet/run-local-testnet.sh
@@ -32,7 +32,7 @@ for sn in $supernodes; do
node_port=2`echo $sn | cut -d n -f 2`
echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
- ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
+ ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u "$node_path" &
done
echo
@@ -46,7 +46,7 @@ while [ $node_num -lt $create_nodes ]; do
mkdir -p $node_path
echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
- ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
+ ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u "$node_path" &
node_num=`expr $node_num + 1`
done