Fix malformed output
This commit is contained in:
parent
9007570d94
commit
37f3b3980b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue