enhance filesystem check to also check fs_id of required nodes /, /home, /apps

This commit is contained in:
Ralf Becker 2016-08-31 19:03:48 +02:00
parent c586e77749
commit d4ce9fce91

View File

@ -153,7 +153,7 @@ class Utils extends StreamWrapper
$sqlfs = new StreamWrapper();
foreach($dirs as $path => $id)
{
if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK)))
if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK)) || $stat['ino'] != $id)
{
if ($check_only)
{