사용자 서비스 로그 순서 정리

This commit is contained in:
seo
2026-07-21 19:40:15 +09:00
parent f74f84ed95
commit fc18903c35
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -3365,7 +3365,7 @@ function systemd_service_logs(string $unit, int $limit = 12): array
return [
'ok' => (int)$result['code'] === 0,
'lines' => $lines,
'lines' => array_reverse($lines),
'error' => (int)$result['code'] === 0 ? '' : (string)$result['out'],
];
}