Fixed tailing logs via webui in alpine

This commit is contained in:
abdulmohsen
2024-05-04 08:49:53 +03:00
parent f587b68972
commit b0c4c3403b

View File

@@ -127,7 +127,7 @@ final class Index
ignore_user_abort(true);
try {
$cmd = 'exec tail --lines 0 -F ' . escapeshellarg($filePath);
$cmd = 'exec tail -n 0 -F ' . escapeshellarg($filePath);
$process = Process::fromShellCommandline($cmd);
$process->setTimeout(3600);