fixed bug with GHOST_CLI_ARGS

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2024-10-16 21:59:00 +03:00
parent 6a60c5a472
commit 5a8e3ce9f2
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA

View File

@ -366,7 +366,8 @@ if [[ $ARGUMENTS = true ]]; then
CLI_ARGS+=("--no-mdns") CLI_ARGS+=("--no-mdns")
CLI_ARGS+=("--no-hardware-benchmarks") CLI_ARGS+=("--no-hardware-benchmarks")
echo "[+] trying to save GHOST_CLI_ARGS=\"$(IFS=' '; echo "${CLI_ARGS[*]}")\"" > /tmp/ghost echo "[+] trying to save new node arguments"
echo "GHOST_CLI_ARGS=\"$(IFS=' '; echo "${CLI_ARGS[*]}")\"" > /tmp/ghost
sudo cp /tmp/ghost /etc/default/ghost sudo cp /tmp/ghost /etc/default/ghost
rm /tmp/ghost rm /tmp/ghost
echo "[+] new CLI arguments stored in '/etc/default/ghost'" echo "[+] new CLI arguments stored in '/etc/default/ghost'"