Revert "Update diagnostics"

This reverts commit 4540a2f92b.
This commit is contained in:
bergware
2025-04-24 19:11:22 +02:00
parent bbdf5c70bb
commit 77bfb0a3ef
+2 -1
View File
@@ -50,11 +50,12 @@ function write(...$messages){
// Modify run function to include error logging
function run($cmd, &$save=null, $timeout=30) {
global $cli,$diag;
// output command for display
write($cmd);
// execute command with timeout of 30s
exec("LC_ALL=en_US.UTF-8 timeout -s9 $timeout $cmd", $save);
return implode("\n", $save);
return implode("\n",$save);
}
function newline($file) {