fix for the writing to permissioned file
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
a22b6f92d2
commit
bdc094663d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user