From bdc094663dea197d94b7be0ccc54f320fb7869a3 Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Tue, 11 Mar 2025 15:57:11 +0300 Subject: [PATCH] fix for the writing to permissioned file Signed-off-by: Uncle Stretch --- scripts/starter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/starter.sh b/scripts/starter.sh index 96a94fc..50464de 100755 --- a/scripts/starter.sh +++ b/scripts/starter.sh @@ -283,7 +283,7 @@ if [[ $VALIDATE = true ]]; then fi 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'" if prompt "[?] do you want to restart 'ghost-node.service' now?"; then