From 05c3dd174c18f2756b6b689e6400b014d4fd70f3 Mon Sep 17 00:00:00 2001
From: Manuel Thalmann <m@nuth.ch>
Date: Sat, 20 Jul 2024 05:09:13 +0200
Subject: [PATCH] Force json output appropriately

---
 scripts/Common/Software/rclone/main.fish | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Common/Software/rclone/main.fish b/scripts/Common/Software/rclone/main.fish
index 13333069..55d3d5bb 100644
--- a/scripts/Common/Software/rclone/main.fish
+++ b/scripts/Common/Software/rclone/main.fish
@@ -10,7 +10,7 @@ begin
     function userConfig -V dir -a name
         source "$dir/../../Scripts/config.fish"
         set -l key "valhalla.users.$name.rclone.configurations"
-        set -l configs (getConfig "$key" --apply "builtins.attrNames")
+        set -l configs (getConfig "$key" --apply "builtins.attrNames" --json)
 
         if [ (echo "$configs" | jq "length") -gt 0 ]
             if [ "$XDG_SESSION_TYPE" = "tty" ]