From cc0a0bffbc0689ef80f9800c24dc7f1551da4d11 Mon Sep 17 00:00:00 2001 From: lgromero Date: Fri, 21 Jun 2024 16:22:42 +0200 Subject: [PATCH] refs #208 removes some comments --- src/OgBootBundle/Service/CurlRequestService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OgBootBundle/Service/CurlRequestService.php b/src/OgBootBundle/Service/CurlRequestService.php index 786b0cf..960183e 100644 --- a/src/OgBootBundle/Service/CurlRequestService.php +++ b/src/OgBootBundle/Service/CurlRequestService.php @@ -66,7 +66,7 @@ public function installOglive($isoname) public function callOgLive($parameter) { - $socketPath = '/tmp/oglive_daemon.sock'; // Path to the UNIX socket + $socketPath = '/tmp/oglive_daemon.sock'; $socket = socket_create(AF_UNIX, SOCK_STREAM, 0); if ($socket === false) { syslog(LOG_ERR, 'Error al crear el socket: ' . socket_strerror(socket_last_error())); @@ -87,7 +87,7 @@ public function callOgLive($parameter) } $args = explode(' ', $parameter); - $action = array_shift($args); // Toma la primera palabra como la acción + $action = array_shift($args); $command = [ 'action' => $action, 'args' => $args