mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #1093 from nextcloud/fix/noid/container-logs
fix container logs new line
This commit is contained in:
commit
8dec561045
1 changed files with 2 additions and 2 deletions
|
|
@ -162,11 +162,11 @@ class DockerActionManager
|
|||
$response = "";
|
||||
$separator = "\r\n";
|
||||
$line = strtok($responseBody, $separator);
|
||||
$response = substr($line, 8) . "\n";
|
||||
$response = substr($line, 8) . $separator;
|
||||
|
||||
while ($line !== false) {
|
||||
$line = strtok($separator);
|
||||
$response .= substr($line, 8) . "\n";
|
||||
$response .= substr($line, 8) . $separator;
|
||||
}
|
||||
|
||||
return $response;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue