summaryrefslogtreecommitdiffstats
path: root/vendor/gipfl/systemd/src
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:23:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:23:33 +0000
commitd9964dcfaabff6a6f77628766b6aa6733504debd (patch)
treeddaef95c1421ca7e77b3e2ecb0b4efa550312316 /vendor/gipfl/systemd/src
parentReleasing progress-linux version 0.20.0-2~progress7.99u1. (diff)
downloadicingaweb2-module-incubator-d9964dcfaabff6a6f77628766b6aa6733504debd.tar.xz
icingaweb2-module-incubator-d9964dcfaabff6a6f77628766b6aa6733504debd.zip
Merging upstream version 0.22.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/gipfl/systemd/src')
-rw-r--r--vendor/gipfl/systemd/src/NotificationSocket.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/gipfl/systemd/src/NotificationSocket.php b/vendor/gipfl/systemd/src/NotificationSocket.php
index fe4a687..3e28dd6 100644
--- a/vendor/gipfl/systemd/src/NotificationSocket.php
+++ b/vendor/gipfl/systemd/src/NotificationSocket.php
@@ -11,6 +11,12 @@ class NotificationSocket
/** @var resource */
protected $socket;
+ /** @var string */
+ protected $path;
+
+ /**
+ * @param string $path
+ */
public function __construct($path)
{
if (@file_exists($path) && is_writable($path)) {
@@ -82,7 +88,7 @@ class NotificationSocket
* Connect to the discovered socket
*
* Will be /run/systemd/notify or similar. No async logic, as this
- * shouldn't block. If systemd blocks we're dead anyways, so who cares
+ * shouldn't block. If systemd blocks we're dead anyway, so who cares
*/
protected function connect()
{