mirror of
https://github.com/unraid/webgui.git
synced 2026-03-09 12:31:56 -05:00
@@ -48,6 +48,7 @@ function write(...$messages){
|
||||
foreach ($messages as $message) publish('diagnostics', $message);
|
||||
}
|
||||
|
||||
// Modify run function to include error logging
|
||||
function run($cmd, &$save=null, $timeout=30) {
|
||||
// output command for display
|
||||
write($cmd);
|
||||
|
||||
Reference in New Issue
Block a user