Backport: fix: remove unraid-api.txt from diags

Backport #2158 to 7.0
This commit is contained in:
ljm42
2025-04-18 09:01:25 -07:00
parent 3e2df8afe7
commit 558d5f9d2c
@@ -706,12 +706,6 @@ if (file_exists($wgquick)) {
run("todos <$wgquick >".escapeshellarg($log));
}
// generate unraid-api.txt
if (file_exists("/usr/local/sbin/unraid-api")) {
$log = "/$diag/system/unraid-api.txt";
run("unraid-api report | todos >".escapeshellarg($log));
}
// generate testparm.txt
$testparm = run("testparm -s 2>/dev/null");
if (!$all)