mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-11-09 13:42:55 +08:00
fix container logs new line
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
ed82a41bc1
commit
5eaff0ba2f
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
Reference in a new issue