aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-09 13:34:37 +0000
committerMario <mario@mariovavti.com>2020-01-09 13:34:37 +0000
commit537a7cf03d6ee86465f8aca761653606741d3658 (patch)
tree61a961105de3f4f37bf6159e79c77b0780b5f8bc /vendor/ramsey/uuid/src
parent662e8f8a4c67e9a7de579ff93f4c36ae2006e186 (diff)
downloadvolse-hubzilla-537a7cf03d6ee86465f8aca761653606741d3658.tar.gz
volse-hubzilla-537a7cf03d6ee86465f8aca761653606741d3658.tar.bz2
volse-hubzilla-537a7cf03d6ee86465f8aca761653606741d3658.zip
composer updates
Diffstat (limited to 'vendor/ramsey/uuid/src')
-rw-r--r--vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php b/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php
index e3c080199..57015133a 100644
--- a/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php
+++ b/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php
@@ -102,8 +102,11 @@ class SystemNodeProvider implements NodeProviderInterface
return false;
}
+ $macs = [];
array_walk($addressPaths, function ($addressPath) use (&$macs) {
- $macs[] = file_get_contents($addressPath);
+ if (is_readable($addressPath)) {
+ $macs[] = file_get_contents($addressPath);
+ }
});
$macs = array_map('trim', $macs);