mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 11:19:57 +00:00
fix for the writing to permissioned file
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
@@ -283,7 +283,7 @@ if [[ $VALIDATE = true ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[+] trying to store CLI updated arguments to '/etc/default/ghost'"
|
echo "[+] trying to store CLI updated arguments to '/etc/default/ghost'"
|
||||||
sudo echo "$cli_args" > /etc/default/ghost
|
echo "$cli_args" | sudo tee /etc/default/ghost > /dev/null
|
||||||
echo "[+] updated CLI arguments stored in '/etc/default/ghost'"
|
echo "[+] updated CLI arguments stored in '/etc/default/ghost'"
|
||||||
|
|
||||||
if prompt "[?] do you want to restart 'ghost-node.service' now?"; then
|
if prompt "[?] do you want to restart 'ghost-node.service' now?"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user