test -t nproc
This commit is contained in:
@ -271,7 +271,6 @@ client_start() {
|
|||||||
snap info solana; \
|
snap info solana; \
|
||||||
sudo snap get solana; \
|
sudo snap get solana; \
|
||||||
threadCount=\$(nproc); \
|
threadCount=\$(nproc); \
|
||||||
if [[ \$threadCount -gt 4 ]]; then threadCount=4; fi; \
|
|
||||||
tmux kill-session -t solana; \
|
tmux kill-session -t solana; \
|
||||||
tmux new -s solana -d \" \
|
tmux new -s solana -d \" \
|
||||||
set -x; \
|
set -x; \
|
||||||
|
Reference in New Issue
Block a user