We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07ce9f0 commit 06a84efCopy full SHA for 06a84ef
run-miner.sh
@@ -3,7 +3,7 @@
3
set -eu
4
5
if ! command -v jq &> /dev/null
6
-then
+then
7
echo "Installing jq"
8
sudo apt install -y jq
9
fi
@@ -28,7 +28,7 @@ fi
28
SCRIPT_DIR=`dirname "$BASH_SOURCE"`
29
30
echo "Launching the miner and restart automatically if it crashes"
31
-until $SCRIPT_DIR/bin/gpu-miner; do
+until $SCRIPT_DIR/bin/gpu-miner $*; do
32
echo "Miner crashed with exit code $?. Respawning.." >&2
33
sleep 1
34
done
0 commit comments