mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +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 = "";
|
$response = "";
|
||||||
$separator = "\r\n";
|
$separator = "\r\n";
|
||||||
$line = strtok($responseBody, $separator);
|
$line = strtok($responseBody, $separator);
|
||||||
$response = substr($line, 8) . "\n";
|
$response = substr($line, 8) . $separator;
|
||||||
|
|
||||||
while ($line !== false) {
|
while ($line !== false) {
|
||||||
$line = strtok($separator);
|
$line = strtok($separator);
|
||||||
$response .= substr($line, 8) . "\n";
|
$response .= substr($line, 8) . $separator;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue