From b3f9e2dd230047938bebb6bd5d66264b160d56ac Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 8 Dec 2024 03:07:54 +0100 Subject: [PATCH] Fix malformed output --- scripts/Common/Software/systemd-networkd/main.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Software/systemd-networkd/main.fish b/scripts/Common/Software/systemd-networkd/main.fish index 901fd6a5..fd8fce34 100644 --- a/scripts/Common/Software/systemd-networkd/main.fish +++ b/scripts/Common/Software/systemd-networkd/main.fish @@ -8,7 +8,7 @@ begin set config (getProgramConfig $argv --json) for name in (echo "$config" | jq '.networkFiles | keys[]' --raw-output0 | string split0 || true) - echo "$config" | NAME=$name jq '.networkFiles[env.NAME]' | sudo tee "/etc/systemd/network/10-$name.network" >/dev/null + echo "$config" | NAME=$name jq '.networkFiles[env.NAME]' --raw-output | sudo tee "/etc/systemd/network/10-$name.network" >/dev/null end end