mirror of
https://github.com/unraid/webgui.git
synced 2026-01-24 18:49:17 -06:00
Simplify start command
This commit is contained in:
@@ -40,7 +40,7 @@ case 'delete':
|
||||
case 'diag':
|
||||
if (!validpath($file)) break;
|
||||
$anon = empty($_POST['anonymize']) ? '' : escapeshellarg($_POST['anonymize']);
|
||||
exec("nohup diagnostics $anon ".escapeshellarg("$docroot/$file")." 1>/dev/null 2>&1");
|
||||
exec("nohup diagnostics $anon ".escapeshellarg("$docroot/$file")." 1>/dev/null 2>&1 &");
|
||||
echo "/$file";
|
||||
break;
|
||||
case 'unlink':
|
||||
|
||||
Reference in New Issue
Block a user