mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-11-07 02:57:25 +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 = "";
|
||||
$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
Reference in a new issue