mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 13:59:22 -04:00
10 lines
341 B
PHP
10 lines
341 B
PHP
--- LibreNMS/Util/FileLock.php.orig 2018-12-30 14:29:16 UTC
|
|
+++ LibreNMS/Util/FileLock.php
|
|
@@ -47,6 +47,7 @@ class FileLock implements Lock
|
|
|
|
$this->name = $lock_name;
|
|
$this->file = "$install_dir/.$lock_name.lock";
|
|
+ $this->file = "/tmp/.$lock_name.lock";
|
|
$this->handle = fopen($this->file, "w+");
|
|
}
|
|
|