Simplify start command

This commit is contained in:
bergware
2022-08-13 10:33:52 +02:00
parent fca75c7296
commit 61c362bcc2

View File

@@ -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':