aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Integrations/Scripts')
-rw-r--r--src/slskd/Integrations/Scripts/ScriptService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs
index 0d789a91..d4e90d7e 100644
--- a/src/slskd/Integrations/Scripts/ScriptService.cs
+++ b/src/slskd/Integrations/Scripts/ScriptService.cs
@@ -159,7 +159,7 @@ public class ScriptService
};
}
- Log.Debug("Running script '{Script}': \"{Executable}\" {Args} (id: {ProcessId})", script.Key, executable, run.Args ?? string.Join(' ', run.ArgsList), processId);
+ Log.Debug("Running script '{Script}': \"{Executable}\" {Args} (id: {ProcessId})", script.Key, executable, run.Args ?? string.Join(' ', run.ArgsList ?? []), processId);
var sw = Stopwatch.StartNew();
process.StartInfo.EnvironmentVariables["SLSKD_SCRIPT_DATA"] = data.ToJson();